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

Posts: 12
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
 
When You Register, These Ads Go Away!
     
Old 04-26-2006, 05:47 AM Re: Need some help in .net
Minaki's Avatar
Cheerleader

Posts: 1,626
Location: Guildford, UK
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!"
Inoxia Pyrotechnics Supplies | Surrey Angels Cheerleading Squad
Minaki is offline
Reply With Quote
View Public Profile Visit Minaki's homepage!
 
Old 04-26-2006, 05:58 AM Re: Need some help in .net
Novice Talker

Posts: 12
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, 07:12 PM Re: Need some help in .net
Minaki's Avatar
Cheerleader

Posts: 1,626
Location: Guildford, UK
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!"
Inoxia Pyrotechnics Supplies | Surrey Angels Cheerleading Squad
Minaki is offline
Reply With Quote
View Public Profile Visit Minaki's homepage!
 
Old 04-27-2006, 01:02 AM Re: Need some help in .net
Novice Talker

Posts: 12
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, 02:13 AM Re: Need some help in .net
Novice Talker

Posts: 12
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, 05:25 AM Re: Need some help in .net
Minaki's Avatar
Cheerleader

Posts: 1,626
Location: Guildford, UK
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!"
Inoxia Pyrotechnics Supplies | Surrey Angels Cheerleading Squad
Minaki is offline
Reply With Quote
View Public Profile Visit Minaki's homepage!
 
Old 04-28-2006, 12:55 AM Re: Need some help in .net
Novice Talker

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

Thread Tools

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

vB 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.13696 seconds with 13 queries