Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Can I restrict access to the file only to one user?

30 Jun 2015   #1
sruj

windows7 professional x64
 
 
Can I restrict access to the file only to one user?

Can I restrict access to the file only to one user (with administrator permission)? Even if another user has administrator permission.

ps it is about system file Windows\System32\drivers\etc\hosts if this is important.


My System SpecsSystem Spec
.
30 Jun 2015   #2
logicearth

Windows 10 Pro (x64)
 
 

Of course. But anyone part of the Administrators group can just take ownership and alter the permissions. Thus you shouldn't give people administrative power unless its absolutely necessary.
My System SpecsSystem Spec
01 Jul 2015   #3
Alejandro85

Windows 7 Ultimate x64
 
 

The hosts file is a critical one, I don't think you should restrict access to it, not at least without consequences, as it controls part of the name resolution system. It's by default read-only for every user and read-write for admins only, which should suffice to warrant security.
Why would you want to prevent access to it? It doesn't contains any kind of sensitive information.

Also, you can't prevent administrators from having complete control of the system, that's the purpose of those kind of accounts. Denying permissions on them will stop them, but they can always give access back to themselves, making it a useless "protection".
My System SpecsSystem Spec
.

01 Jul 2015   #4
LMiller7

Windows 7 Pro 64 bit
 
 

Any attempt to restrict what an admin account can do is an exercise in futility. All admin accounts are equal. The one you are using is in no way superior to any other. The built in Administrator account is a little different but not relevant to this situation. Any restrictions you might put in place can be undone by any other admin account. This is by design.

You shouldn't be changing permissions on system files unless you really understand what you are doing. This is a lot more complicated that it appears.
My System SpecsSystem Spec
Reply

 Can I restrict access to the file only to one user?




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
How can I allow/restrict specific user's privileges?
I would like a Standard user to be allowed to empty the recycle bin. Thank you.
General Discussion
How to restrict a certain user from running a certain program
Hello, I'm running windows 7 ultimate 64bit, and I've been trying to figure out how to stop my sister from running two programs only, so far I haven't been able to do it using gpedit.msc, the thing is I see an option to stop all user from running software and then manually add the software that...
General Discussion
how to restrict a user
hello every one I'm using windows 7 64x ultimate I sometimes play games on on it. my brother has been annoying me to play on it as well I want to make a standard user for him while restricting what programs he can use. basically I want him to be able to play the games even if they may require...
Customization
I want to restrict my other user account from making changes to themes
I am looking to restrict the other users on my computer from making changes such as themes, updating and other control panel type changes. Theres a standard account created with program access limited but thats all I could find to limit. I would like to be able to make the changes myself but...
Themes and Styles
How to I restrict a user from access to partitions?
I have 8 partitions on my computer and I have a roomate now and he needs to use my computer, but i want to restrict access so he can only use the C drive not the other partitions that I have any help appreciated
System Security
Restrict sites per user
How can I restrict websites on a per user basis? Thanks -Matthew
Browsers & Mail


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 15:12.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App