Solved

login process status - special?

Posted on 2004-09-23
4
139 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
Comment Utility
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
Comment Utility
Hummm....
what about runas then?  How would you get a password in there?
0
 
LVL 16

Accepted Solution

by:
robrandon earned 50 total points
Comment Utility
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
Comment Utility
To bad this windows doesn't have a unix sticky bit - oh well
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
Find out what Office 365 Transport Rules are, how they work and their limitations managing Office 365 signatures.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

763 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

6 Experts available now in Live!

Get 1:1 Help Now