Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 11th, 2003, 11:15 AM
Registered User
 
Join Date: Jun 2003
Location: clinton, maine, USA.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Securing File Manager

I'm using XP professional and when I try to set up the permissions for the website folder I have no security tab; just a customize tab in its place. Any idea what I need to do?

thanks,
pkemman
  #2 (permalink)  
Old July 12th, 2003, 06:46 AM
Authorized User
 
Join Date: Jun 2003
Location: , , Switzerland.
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm wondering if it's possible...

 do you have FAT or NTFS disks?
  #3 (permalink)  
Old July 12th, 2003, 10:27 AM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Yeah, that's possible. By default, when you install XP Professional, an option called "Simple Sharing" has been enabled to ease the process of sharing files between users.

To disable this feature, open a Windows Explorer and then choose Tools | Folder Options... On the View tab, scroll all the way down and deselect Use Simple File Sharing (Recommended).

Although "recommended" by Microsoft, disabling this feature will give you back your security tab and the ability to have fine-grained control over your security settings.

HtH

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
  #4 (permalink)  
Old July 13th, 2003, 07:54 AM
Registered User
 
Join Date: Jun 2003
Location: clinton, maine, USA.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the tip. I'll put it to use.
  #5 (permalink)  
Old August 31st, 2003, 04:56 AM
Registered User
 
Join Date: Aug 2003
Location: , , Germany.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to AHaeusler
Default

I've secured my FileManager with the user authentication of ThePhile.
It's not so hard to get this running:
  • add a new permission category to your database
  • grant this permission to any user who should be able to change files
  • change the OnInit method in BrowseFiles.aspx.cs (inside the Web Form Designer generated code) like said in http://p2p.wrox.com/topic.asp?TOPIC_ID=110 to be sure that the following cast is possible
  • put the code which should be secured inside a if-statment like this:
    Code:
    if(((DorfmusikantenPrincipal)Context.User).HasPermission((int)FilePermissions.FileAdministration))
I've also secured the Download.aspx and EditFile.aspx, but I don't think it's needed.

Regards,

Andreas

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
securing the file manager using windows security raja_699 BOOK: ASP.NET Website Programming Problem-Design-Solution 3 February 2nd, 2005 01:07 AM
changing root path in file manager codergirl BOOK: ASP.NET Website Programming Problem-Design-Solution 3 November 11th, 2004 04:21 PM
File Manager Namespace error rob BOOK: ASP.NET Website Programming Problem-Design-Solution 0 January 29th, 2004 07:35 AM
File manager guoqi BOOK: ASP.NET Website Programming Problem-Design-Solution 1 October 13th, 2003 10:22 AM



All times are GMT -4. The time now is 08:27 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.