#168 closed Feature Request (Rejected)
RunAsSet() for 3.2.11.x
Reported by: | JayMan | Owned by: | |
---|---|---|---|
Milestone: | Component: | AutoIt | |
Version: | Severity: | ||
Keywords: | RunAs RunAsSet RunAsWait 3.2.11.1 | Cc: |
Description
Is it possible to leave the RunAsSet() function in 3.2.11.x?
I understand this was replaced with RunAs() & RunAsWait(), but i really prefer the functionality of the RunAsSet() command, as it means i don't have to specify the username & password multiple times in the script.
Surely its possible to have all 3 commands available?
Attachments (0)
Change History (3)
comment:1 Changed 17 years ago by TicketCleanup
- Version 3.2.11.1 deleted
comment:2 follow-up: ↓ 3 Changed 17 years ago by Valik
- Resolution set to Rejected
- Status changed from new to closed
RunAsSet() is a security risk that we do not need. The RunAs() and RunAsWait() functions are superior in syntax, functionality and security (although they are still not 100% secure, they are at least now more secure than RunAsSet()).
comment:3 in reply to: ↑ 2 Changed 17 years ago by JayMan
I'm not sure how its any more of a security risk to be honest...
Sure if people don't code the script right, if they want only a section runas'd and they forget to do a RunAsSet() it'll continue with the elevated user instead...
If thats the only risk involved, rather than remove it completely, why not make it a function that requires a end to pass syntax checks (e.g. require 'RunAsEnd' or something to be present)
Ofcourse, I might be overlooking/unaware another security issue with this...
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
Automatic ticket cleanup.