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: Is this possible?

03 May 2010   #1
s199

OS X
 
 
Is this possible?

Basically I want to make certain files read-only. I only want one account, which is the administrator, and to edit these files, you need to give the admin password. However, when logging in, you don't need any password, or when installing any program. Only time you need the admin password, is when you are editing these files.

Thanks for the help, I hope I what I wrote is not confusing, if you still don't understand, feel free to ask and i'll elaborate...


My System SpecsSystem Spec
.
03 May 2010   #2
MistaJay

Windows 7 (x86)
 
 

Certain files? Please verify the extensions..?

Sounds possible to me.

Google AxCrypt, freeware, of which you can use to Encrypt/Decrypt any file with a password. Note that AxCrypt doesn't need to be installed on another computer to decrypt. (I think)
My System SpecsSystem Spec
03 May 2010   #3
osholt

Windows 7 Profesional x86, Mac OS X 10.6 Snow Leopard
 
 

I believe to satisfy exactly what you're asking is very difficult, mainly because in order to use most password protecting software you have to encrypt the file making it impossible to read or right without the password, this defeating the point in your case.

I'm sorry for an inconvienient truth.

Oli
My System SpecsSystem Spec
.

03 May 2010   #4
s199

OS X
 
 

You don't need a software…you can just use the Read-Only attribute in filesystem built into windows. Specifically I want to make the HOST file Read-Only
My System SpecsSystem Spec
03 May 2010   #5
Tepid

Win 7 Ultimate 32bit
 
 

You need to read up on permissions.

Admins have access to all things and can change permissions at will.

You really need to read up on permissions to do what you want.

Yes, it is possible. But not as an admin only account.


Host file can be made read only by right clicking it and checking the read only box under properties.
My System SpecsSystem Spec
03 May 2010   #6
zzz2496

Windows7 Ultimate 64bit
 
 

s199, no - that's not possible... See, Windows runs on "accounts" paradigm. You need to "identify" your self to the system, then the system will determine "who" you are, and permits access to any subsystems accordingly. If you want to limit access down to file level, you need 3rd party software, AxCrypt looks good.

zzz2496
My System SpecsSystem Spec
03 May 2010   #7
osholt

Windows 7 Profesional x86, Mac OS X 10.6 Snow Leopard
 
 

Quote   Quote: Originally Posted by s199 View Post
You don't need a software…you can just use the Read-Only attribute in filesystem built into windows. Specifically I want to make the HOST file Read-Only
You can't if you have a single Administrator account, another user could just untick the box as easily as you ticked it.

You require third party software to even have a remote chance of being able to accomplish this using only one account.

I think the only feasable way of doing this would be to have two or more accounts and to setup the appropriate permissions like Tepid said.

One admin password protected with full write support and several standard user accounts with no password but only read only access.

Oli
My System SpecsSystem Spec
03 May 2010   #8
CarlTR6

Windows 7 Ultimate 32 bit
 
 

I think osholt has nailed it. That is the easiest, less complex, and most workable solution. I think you could do this with one additional user account.
My System SpecsSystem Spec
03 May 2010   #9
s199

OS X
 
 

ok so I understand that I need at least two accounts to do this. Is there a way I can have an administrator account and a user account, but on the login screen it automatically logs in as the user account? Also what settings would I have to change to allow the user account to access any file, install anything, just except for editing the HOST file?
My System SpecsSystem Spec
03 May 2010   #10
CarlTR6

Windows 7 Ultimate 32 bit
 
 

Someone with more knowledge than I may have a better solution. If I understand this correctly, you want the second account to be a full admin account, but without access to the Hosts file as the only difference?

The easiest way is to create another admin account rather than a user account. Using Windows Explorer, right click on Hosts and select properties. Click on the Security tab and click on the edit button to change the permissions. Make sure you are changing the permissions for that new account. Leave Read & exceute and Read checked. This account will be able to view the file, but not make any changes.

Another way to to this is install an anti malware program or a third party firewall that has the option to lock the Hosts file. If the Hosts file is locked, you will not be able to modify it without going into the program that locked it and unlock it. Another user on your machine would have no idea what is locking the Hosts file. If you do this, you would not need an additional account.

I really don't understand the concern about access to the Hosts file unless you are sharing your computer.
My System SpecsSystem Spec
Reply

 Is this possible?




Thread Tools



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 21:34.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App