Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases 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
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old February 28th, 2006, 01:52 PM
Friend of Wrox
 
Join Date: May 2005
Location: , , Norway.
Posts: 189
Thanks: 0
Thanked 0 Times in 0 Posts
Default Question about permissions

Hallo, hallo!

At last I have found out how to display the "The Advanced tab" with the option to specify the permissions for a file (.mdb and .udl). (Why is it hidden like that in XP?)
     Who should have permissions except from IUSR and myself. Does this "SYSTEM" need to be on the list? Can anyone tell me something aboat security vis a vis WWW-sites and db?

Med vennlig hilsen grstad

__________________
Internet has become favorable with that tool...thank you Tim Berners-Lee!
Reply With Quote
  #2 (permalink)  
Old February 28th, 2006, 02:53 PM
Imar's Avatar
Wrox Author
Points: 66,779, Level: 100
Points: 66,779, Level: 100 Points: 66,779, Level: 100 Points: 66,779, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 16,153
Thanks: 65
Thanked 1,391 Times in 1,371 Posts
Default

You may want to take a look here:

http://imar.spaanjaars.com/QuickDocId.aspx?QUICKDOC=263
http://imar.spaanjaars.com/QuickDocId.aspx?QUICKDOC=287

It's a good idea to leave System in the list; this is the system account that by default has a lot of privileges on your machine.
Other than that account (and the Administrator group) you can *usually* remove the other accounts, except for those listed in the FAQs.

HtH,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Reply With Quote
  #3 (permalink)  
Old March 1st, 2006, 08:27 AM
Friend of Wrox
 
Join Date: May 2005
Location: , , Norway.
Posts: 189
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you IMAR!

Mvh grstad

Reply With Quote
  #4 (permalink)  
Old March 10th, 2006, 05:46 AM
Friend of Wrox
 
Join Date: May 2005
Location: , , Norway.
Posts: 189
Thanks: 0
Thanked 0 Times in 0 Posts
Default

... but why are the C: dir automatic shared to all on any net when I
uncheck "Use simple file-share"?...

grstad

Reply With Quote
  #5 (permalink)  
Old March 10th, 2006, 04:13 PM
Imar's Avatar
Wrox Author
Points: 66,779, Level: 100
Points: 66,779, Level: 100 Points: 66,779, Level: 100 Points: 66,779, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 16,153
Thanks: 65
Thanked 1,391 Times in 1,371 Posts
Default

??? I don't think that's normally the case.

Can you describe how you see this? Who is "all on any net" in this case and how do you / they access the share?

Did you create the share manually, or are you saying it was created automagically as well?

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Reply With Quote
  #6 (permalink)  
Old March 11th, 2006, 06:29 AM
Friend of Wrox
 
Join Date: May 2005
Location: , , Norway.
Posts: 189
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hallo, Imar!

When unchecking the option "Use simple file sharing",
(in order to activate the security-tab) my root-dir C:
is set to share, open to all!

Med vennlig hilsen

grstad

Reply With Quote
  #7 (permalink)  
Old March 11th, 2006, 06:31 AM
Imar's Avatar
Wrox Author
Points: 66,779, Level: 100
Points: 66,779, Level: 100 Points: 66,779, Level: 100 Points: 66,779, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 16,153
Thanks: 65
Thanked 1,391 Times in 1,371 Posts
Default

But how do you see that? Where do you see the permissions and the share?

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Reply With Quote
  #8 (permalink)  
Old March 11th, 2006, 06:31 AM
Friend of Wrox
 
Join Date: May 2005
Location: , , Norway.
Posts: 189
Thanks: 0
Thanked 0 Times in 0 Posts
Default

... yes, it must be automagically....



Reply With Quote
  #9 (permalink)  
Old March 11th, 2006, 06:36 AM
Friend of Wrox
 
Join Date: May 2005
Location: , , Norway.
Posts: 189
Thanks: 0
Thanked 0 Times in 0 Posts
Default

...by right-mous the disk in question and order the share and security option listed...

;)

Reply With Quote
  #10 (permalink)  
Old March 11th, 2006, 06:49 AM
Imar's Avatar
Wrox Author
Points: 66,779, Level: 100
Points: 66,779, Level: 100 Points: 66,779, Level: 100 Points: 66,779, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 16,153
Thanks: 65
Thanked 1,391 Times in 1,371 Posts
Default

I think that by default "simple sharing" means the drives are shared. The simple sharing option than simple hides the dialogs to manually control sharing. I don't think that by turning the feature off, your system becomes less secure; you just see how open it is....

You can remove the shares you don't like and set security options explicitly on the Security tab...

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Reply With Quote
Reply


Thread Tools
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
Permissions Problem dparsons ASP.NET 1.0 and 1.1 Professional 0 June 22nd, 2006 08:14 AM
database permissions marmer All Other Wrox Books 1 November 15th, 2004 08:46 AM
GroupIDs and Permissions gmoney060 Classic ASP Basics 2 August 11th, 2004 09:49 PM
Permissions w/o server Snib Pro PHP 12 August 11th, 2004 04:54 PM
Permissions rwalker Crystal Reports 1 June 23rd, 2004 04:33 PM



All times are GMT -4. The time now is 01:22 AM.


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