Solved

login process status - special?

Posted on 2004-09-23
4
140 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 50 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

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 article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

910 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now