[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

login process status - special?

Posted on 2004-09-23
4
Medium Priority
?
150 Views
Last Modified: 2010-04-14
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
Comment
Question by:hank1
  • 2
  • 2
4 Comments
 
LVL 16

Expert Comment

by:robrandon
ID: 12136464
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
 
LVL 1

Author Comment

by:hank1
ID: 12136516
Hummm....
what about runas then?  How would you get a password in there?
0
 
LVL 16

Accepted Solution

by:
robrandon earned 200 total points
ID: 12136617
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
 
LVL 1

Author Comment

by:hank1
ID: 12138891
To bad this windows doesn't have a unix sticky bit - oh well
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Integration Management Part 2
Suggested Courses
Course of the Month17 days, 14 hours left to enroll

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question