Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

.NET Forum


You are currently viewing our .NET Forum as a guest. Please register to participate.
Login



Reply
Need some help in .net
Old 04-26-2006, 02:39 AM Need some help in .net
Novice Talker

Posts: 12
Trades: 0
Hi all

I hav one more problam. I am creating a project in which i am to impliment a directory structure such that every user can create only single directory and many sub directories in his directory, and also assign the access permission to the number of users as he wish

I hav never worked on such module
any suggesions how to start
even from basic level will be appreciated
Thanks
handshakeit is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-26-2006, 06:47 AM Re: Need some help in .net
Minaki's Avatar
Defies a Status

Posts: 1,626
Location: Guildford, UK
Trades: 0
Why re-invent the wheel?

If you can, use built in Windows NT users & permissions.
__________________
Minaki Serinde MCP
"Wow, Linux is nearly on-par with Windows ME!"

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Minaki is offline
Reply With Quote
View Public Profile Visit Minaki's homepage!
 
Old 04-26-2006, 06:58 AM Re: Need some help in .net
Novice Talker

Posts: 12
Trades: 0
Quote:
Originally Posted by Minaki
Why re-invent the wheel?

If you can, use built in Windows NT users & permissions.
As i said earlier I hav no idea about it
plz tell me how to use built in Windows NT users & permissions in .net application

Thanks in Advance
handshakeit
handshakeit is offline
Reply With Quote
View Public Profile
 
Old 04-26-2006, 08:12 PM Re: Need some help in .net
Minaki's Avatar
Defies a Status

Posts: 1,626
Location: Guildford, UK
Trades: 0
This should get you started...
http://msdn.microsoft.com/library/de...onprovider.asp

Google is your friend
__________________
Minaki Serinde MCP
"Wow, Linux is nearly on-par with Windows ME!"

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Minaki is offline
Reply With Quote
View Public Profile Visit Minaki's homepage!
 
Old 04-27-2006, 02:02 AM Re: Need some help in .net
Novice Talker

Posts: 12
Trades: 0
Implementing Security is secondary
First I am to create a directory structure
any idea
plz tell me
handshakeit is offline
Reply With Quote
View Public Profile
 
Old 04-27-2006, 03:13 AM Re: Need some help in .net
Novice Talker

Posts: 12
Trades: 0
ok i got how to create directory
Directory.CreateDirectory(@"C:\testdirectory");
now what shoul be done so that only one person can acces this
handshakeit is offline
Reply With Quote
View Public Profile
 
Old 04-27-2006, 06:25 AM Re: Need some help in .net
Minaki's Avatar
Defies a Status

Posts: 1,626
Location: Guildford, UK
Trades: 0
You need to set NTFS permissions on that directory (which will obviously only work if C: is formatted as NTFS).
I don't know how to do that in .NET, but google it and you should find some info. If you're only setting up a few directories, you can right click on them and go to Properties, and set the permissions manually on the security tab.
__________________
Minaki Serinde MCP
"Wow, Linux is nearly on-par with Windows ME!"

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Minaki is offline
Reply With Quote
View Public Profile Visit Minaki's homepage!
 
Old 04-28-2006, 01:55 AM Re: Need some help in .net
Novice Talker

Posts: 12
Trades: 0
Thanks Minaki
For all
handshakeit is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Need some help in .net
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.25867 seconds with 12 queries