• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 153
  • Last Modified:

login process status - special?

We have a login script launched backup program that collects some local files and
save them on the server.   Does it, via the login process,
have some special status that we could use that would allow
us to tighten down the backup destination share?

Right now everyone who logs in is a beloings to a RAY-User group and that
share is open to them.  We'd like to
deny access to this share after the login is complete.    Anyway?
0
hank1
Asked:
hank1
  • 2
  • 2
1 Solution
 
robrandonCommented:
Can you setup the script to use the Net Use command and log in with another account?  Then when the script is over, disconnect.  The share should only allow access for the account in your script, not regular users.

0
 
hank1Author Commented:
Hummm....
what about runas then?  How would you get a password in there?
0
 
robrandonCommented:
I'm not sure if you need to use Runas in the script.  You can do something like this:

Net Use s: \\server\share password /user:scriptaccount@domain.com
Do your copy to S:
Net Use /delete

I'm not sure how to hide this information from the users though....
0
 
hank1Author Commented:
To bad this windows doesn't have a unix sticky bit - oh well
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now