Modify

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#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 by TicketCleanup, 18 years ago

Version: 3.2.11.1

Automatic ticket cleanup.

comment:2 by Valik, 18 years ago

Resolution: Rejected
Status: newclosed

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()).

in reply to:  2 comment:3 by JayMan, 18 years ago

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...

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.