How I can restrict other user from running a particular script, I know that there are more ways to do it.
But what would be the best fit.
'cuff 'em with duct tape! It can be made to fit anyone. The world could not survive without duct tape - neither could Microsoft. [img]images/icons/smile.gif[/img] [ 03-24-2006, 05:01 AM: Message edited by: JakeBrake ]
rohit_24 - please review the FAQS of the site and this forum about thread titles. Your title to this thread has zero relation to your query.
Which means you are not informing us of the content of the thread pror to reading through it, and people will skip over it and reduce your chances of receiving volunterred help.
As for your question, what are the ways you know you can restrict it? I know of quite a few as well, but are we sure they are the same? If I suggest one you might not get it.
So share what you think you can do to restrcit them and we'll expand on it to give you ideas of what is the best for you, but you will have to decide that for you in the end.
Insanity: doing the same thing over and over again and expecting different results
<IMG SRC = "http://www.qaforums.com/uploads/1143222032.gif">
You could do that, but wouldn't someone just be able to comment out the code that drove it needing a password?
I will take care of thi sthing at the time of posting any topic (regarding Title).
Yes, That was one of the way which I thought with which we can restrict the user from using any script but yes, no doubt user can comment this LOC.
another way:using create_input_dialog
as username=create_input_dialog("Enter user name");
call ...use case level script(1);
but I know this is not the correct way to restict another one.
Please give suugestion
Think about the question this way: How can you restrict network users from accessing a particular file? The answer is that you store the file in a shared directory to which the users don't have access.
There is also source control - you can not store the scripts locally, get what you need to run and then remove the local copy when done.
Yes both of you are right. I think this is the only way to restict the user onnetwork from accessing any file.