Wrox Programmer Forums
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #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: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 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



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





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.