Real Geek Forums  

Go Back   Real Geek Forums > Archives > Operating Systems > Windows Vista > Windows Vista Administration

Notices

Reply

Vista file security mechanisms

 

LinkBack Thread Tools Display Modes
Old 08-22-2006, 05:27 PM   #1 (permalink)
Default Vista file security mechanisms

1) I noticed that there is quite a bit of restrictions in the file system,
almost like a *nix file system since you cannot change/delete etc certain
files in certain directories (...permissions). This is awesome and only a
small example, I'm wondering though if the system asks for the admin password
to install a program ONLY if it is an install routine or ONLY if a program
tried to create directories/files in certain directories (like program
files), or both, basically how is Vista realizing that it's an install
routine and that admin is needed?

2) In Vista there is a difference between "Administrator" and an account
with administrator priveledges...or am I confused? From my experience I
needed to log into safe mode and change the Administrator password, couldn't
do it from the Admin account I created in XP before the Upgrade...NICE!!

3) Updating the Hosts file was a PITA!!! But IS possible!
Warren
Guest
 
Posts: n/a
Reply With Quote  
Old 08-23-2006, 02:50 PM   #2 (permalink)
Default Re: Vista file security mechanisms

Hello,
Quote:
> 1) I noticed that there is quite a bit of restrictions in the file system,
> almost like a *nix file system since you cannot change/delete etc certain
> files in certain directories (...permissions). This is awesome and only a
> small example,
Actually, these permissions have been in Windows NT-based operating systems
since conception... however, running as Administrator ("root") by default
negates all the nice security features of this, since administrators have
access to pretty much everything, so I'm sure a lot of people have never
noticed this

In Windows Vista, accounts with administrator privileges run like a user in
the 'wheel' group ... every program they open runs as a standard user. Then,
when they want to run a program with admin privileges, they have to 'sudo'
the program. The program can either request to be sudo'd (Windows needs your
permission to run this program), or you can explicitly run the program with
admin power by right-clicking it and clicking Run As Administrator.
Quote:
> I'm wondering though if the system asks for the admin password
> to install a program ONLY if it is an install routine or ONLY if a program
> tried to create directories/files in certain directories (like program
> files), or both, basically how is Vista realizing that it's an install
> routine and that admin is needed?
Applications have to be explicitly configured to ask for admin permission by
the developer of the application.

Alternatively, Windows may "know" that a legacy application will need admin
powers via the application compatibility database, so Windows may prompt on
behalf of a legacy application if it knows it will need admin powers.

If a program is not configured to ask for admin permission, when in fact it
DOES, this program will fail to work correctly, even if you are logged in as
an administrator. To use these programs, right-click on it, and click Run As
Administrator. You can manually configure a program to always ask for
administrator permission from the compatability tab of its properties
screen.

Also, Windows Vista automatically recognizes the most common types of setup
programs and asks for admin permission for these programs when they run.

As for accessing restricted files and registry keys ... Windows Vista uses a
new concept called "virtualization" to allow old programs to run. Basically
how this works, is if a program that was not designed for Windows Vista
tries to write data to certain restricted folders or registry keys, Windows
makes the program THINK that it is writing to these places, but actually
puts the files/registry keys into a folder inside the user's folder.

In this way, these older programs can still work, but they cannot change
other user's data or affect the system state.
Quote:
> 2) In Vista there is a difference between "Administrator" and an account
> with administrator priveledges...or am I confused? From my experience I
> needed to log into safe mode and change the Administrator password,
> couldn't
> do it from the Admin account I created in XP before the Upgrade...NICE!!
Yes, there is a difference.

When logged in as an account with admin permissions, you run all programs as
a standard user, and only programs that you give permission to will run with
your administrator powers.

On the other hand, the Administrator account is like the 'root' account in
linux ... it ALWAYS runs everything with full privileges. By default in
Windows Vista, you can only access this account from safe mode.
Quote:
> 3) Updating the Hosts file was a PITA!!! But IS possible!
An easy way to do file management is to right-click the link to Windows
Explorer and click Run As Administrator. This will prompt for admin
permission FIRST, and then allow you to do any other admin-task without
needing to be prompted again (from within that window).

For more info, check out these Microsoft websites:

http://www.microsoft.com/technet/win...ty/uacppr.mspx
http://www.microsoft.com/technet/Win...9e4e5c10f.mspx
http://www.microsoft.com/technet/Win...ff918c281.mspx
http://www.microsoft.com/technet/win...1f5c6c2d9.mspx
http://blogs.msdn.com/uac/

- JB

Vista Support FAQ
http://www.jimmah.com/vista/



Jimmy Brush
Guest
 
Posts: n/a
Reply With Quote  
Old 09-24-2006, 01:17 PM   #3 (permalink)
Default Re: Vista file security mechanisms

test
"Jimmy Brush" <JimmyBrush@discussions.microsoft.com> дÈëÏûÏ¢ÐÂÎÅ:FBBE957E-67D1-4EFE-A896-43191C31EFD4@microsoft.com...
Quote:
> Hello,
>
Quote:
>> 1) I noticed that there is quite a bit of restrictions in the file
>> system,
>> almost like a *nix file system since you cannot change/delete etc certain
>> files in certain directories (...permissions). This is awesome and only a
>> small example,
>
> Actually, these permissions have been in Windows NT-based operating
> systems since conception... however, running as Administrator ("root") by
> default negates all the nice security features of this, since
> administrators have access to pretty much everything, so I'm sure a lot of
> people have never noticed this
>
> In Windows Vista, accounts with administrator privileges run like a user
> in the 'wheel' group ... every program they open runs as a standard user.
> Then, when they want to run a program with admin privileges, they have to
> 'sudo' the program. The program can either request to be sudo'd (Windows
> needs your permission to run this program), or you can explicitly run the
> program with admin power by right-clicking it and clicking Run As
> Administrator.
>
Quote:
>> I'm wondering though if the system asks for the admin password
>> to install a program ONLY if it is an install routine or ONLY if a
>> program
>> tried to create directories/files in certain directories (like program
>> files), or both, basically how is Vista realizing that it's an install
>> routine and that admin is needed?
>
> Applications have to be explicitly configured to ask for admin permission
> by the developer of the application.
>
> Alternatively, Windows may "know" that a legacy application will need
> admin powers via the application compatibility database, so Windows may
> prompt on behalf of a legacy application if it knows it will need admin
> powers.
>
> If a program is not configured to ask for admin permission, when in fact
> it DOES, this program will fail to work correctly, even if you are logged
> in as an administrator. To use these programs, right-click on it, and
> click Run As Administrator. You can manually configure a program to always
> ask for administrator permission from the compatability tab of its
> properties screen.
>
> Also, Windows Vista automatically recognizes the most common types of
> setup programs and asks for admin permission for these programs when they
> run.
>
> As for accessing restricted files and registry keys ... Windows Vista uses
> a new concept called "virtualization" to allow old programs to run.
> Basically how this works, is if a program that was not designed for
> Windows Vista tries to write data to certain restricted folders or
> registry keys, Windows makes the program THINK that it is writing to these
> places, but actually puts the files/registry keys into a folder inside the
> user's folder.
>
> In this way, these older programs can still work, but they cannot change
> other user's data or affect the system state.
>
Quote:
>> 2) In Vista there is a difference between "Administrator" and an account
>> with administrator priveledges...or am I confused? From my experience I
>> needed to log into safe mode and change the Administrator password,
>> couldn't
>> do it from the Admin account I created in XP before the Upgrade...NICE!!
>
> Yes, there is a difference.
>
> When logged in as an account with admin permissions, you run all programs
> as a standard user, and only programs that you give permission to will run
> with your administrator powers.
>
> On the other hand, the Administrator account is like the 'root' account in
> linux ... it ALWAYS runs everything with full privileges. By default in
> Windows Vista, you can only access this account from safe mode.
>
Quote:
>> 3) Updating the Hosts file was a PITA!!! But IS possible!
>
> An easy way to do file management is to right-click the link to Windows
> Explorer and click Run As Administrator. This will prompt for admin
> permission FIRST, and then allow you to do any other admin-task without
> needing to be prompted again (from within that window).
>
> For more info, check out these Microsoft websites:
>
> http://www.microsoft.com/technet/win...ty/uacppr.mspx
> http://www.microsoft.com/technet/Win...9e4e5c10f.mspx
> http://www.microsoft.com/technet/Win...ff918c281.mspx
> http://www.microsoft.com/technet/win...1f5c6c2d9.mspx
> http://blogs.msdn.com/uac/
>
> - JB
>
> Vista Support FAQ
> http://www.jimmah.com/vista/
>
>
>

happymen
Guest
 
Posts: n/a
Reply With Quote  
Reply

Tags
None

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may 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 On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Can't install latest Excel 2003 security update on Vista Nick Payne Windows Vista Performance & Maintenance 3 10-21-2006 11:08 PM
CANNOT SET SECURITY ON NETWORK DTAP Windows Vista Networking & Sharing 5 09-19-2006 11:46 PM
IEEE 802.1x security clayliau Windows Vista Networking & Sharing 6 07-03-2006 02:21 PM
file/folder security/ownership Piotr Wozniacki Windows Vista Performance & Maintenance 3 06-26-2006 12:03 AM
COM Security Problems in Vista Beta 5308 release Paul Chis Windows Vista Performance & Maintenance 0 03-22-2006 01:24 PM


All times are GMT. The time now is 02:56 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright © 2005 - 2007 RealGeek.com. All rights reserved.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90