Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am wondering if its possible to create a locked map document?

I have a document that multiple users will be accessing and as a way of preventing them from making any accidental errors, am wondering if I can create a map document that is locked as to prevent any modifications.

Thanks!

share|improve this question
2  
If you have ArcPublisher then PMF file can be locked down and shared - from experience .mxd can easily be corrupted/deleted or frozen if other users access it at the same time. –  Mapperz Apr 13 '12 at 20:26
    
I have to agree with @Mapperz. If you want to lock people down from making errors in the map document, then this is obviously not something to where people are going to be doing editing, or anything like that. Therefore, it seems like it could safely be designed for viewing only, which would make the ArcPublisher, PMF, ArcReader route optimal. –  Get Spatial Apr 14 '12 at 10:37
add comment

2 Answers 2

up vote 4 down vote accepted

Right click the mxd in windows explorer, choose properties, check Read-Only.

This should force 'Save-As' when the user goes to save the map leaving your original in-tact. If you need to make changes to your "template" you'll have to disable this checkmark.

share|improve this answer
2  
This will make it a lot harder for people to overwrite the MXD, but not impossible, they could still change it using a file manager. –  Dan C Apr 13 '12 at 15:21
add comment

As I can't comment I'll prepend for Roy's answer: This is technically correct but setting the "read only" attribute at this level is very weakly enforced. If you do this with ArcGIS (just tested), when you hit save you'll get a box asking where to save it, but you can then select the original file and over-write it anyway.

There are two better ways:

Permissions

Assuming the file is stored somewhere with proper network permissions you can use ActiveDirectory permissions (Windows) or chmod (*nix) to ensure the only user who can write to it is yourself.

On Windows access the permissions from [selection] >> File >> Properties >> [Security].

This is the best solution.

Template

Save the file as a template file (mxt in the drop-down for save-types). Depending on how the user then loads the file they won't be able to over-write the original without first setting the save type to templates and going and seeking out the original.

share|improve this answer
    
You can use security permissions on a single computer, e.g. a standalone workstation without a network, as long as people using the different roles (read-only, editor) use different logins. –  matt wilkie Apr 13 '12 at 16:42
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.