Solved

Opening Files as Read-Only

Posted on 2003-11-05
10
239 Views
Last Modified: 2010-04-25
If someone on our network opens a document through our intranet I want it to open as Read-Only without affecting the actual file.  Is there a way you can specify in a hyperlink to open as Read-Only?  It would be for documents such as Word or Excel..
0
Comment
Question by:mgcIT
10 Comments
 
LVL 19

Expert Comment

by:webwoman
ID: 9689894
If they open it in a browser, it IS read only unless they have write permissions on that folder.

Easy solution -- don't give them write permissions.
0
 
LVL 18

Author Comment

by:mgcIT
ID: 9690361
ok, I see what you are saying, but after looking back at my site, and logging in as a normal user I have found the actual problem.  Here is what is happening:

The intranet site opens various files on the server such as Word or Excel documents (the server where the intranet lies is a different server than our file server but they are both on the same LAN).  Originally I was just linking to the documents using the full path, but now I see that if a user does not have a drive mapped that a file points to, they cannot open the page.

Example:

I have a link that points to a file "G:/Staff List.doc"

This always opened fine for me because I always had the G: drive mapped, but when I logged into our network as another user who did not have access to the G: drive, they could not open the page.  What I thought would happen, is our intranet server (which is mapped to this drive) would locate the file and display it in a browser.  Why is the intranet using the user's own local drive mappings to find files and how can I correct this?
0
 
LVL 23

Expert Comment

by:adilkhan
ID: 9690364
Exactaly as Webwoman mentioned. Dont give them Write permission.

To make more sense.

Right Click on File/Folder, Choose Properties and choose General Tab.

from the Attributes check "Read Only". and hit ok
0
 
LVL 18

Author Comment

by:mgcIT
ID: 9690533
adilkhan,

I don't know if you posted before seeing my first response, but just in case please see above.  I want my site to fetch the pages and display them without having to worry about the user having the drives available.  Therefore read/write access should not be an issue.

Or am I totally wrong?
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 1

Expert Comment

by:gabss
ID: 9694127

can u not move the doc onto the other sever...

Then change the permission as : webwoman and asikhan said ?

g
0
 
LVL 18

Author Comment

by:mgcIT
ID: 9695148
Moving the files onto the other server doesn't make much sense to me.  There must be a way for this to happen.  Isn't that the basis for a website?  That you tell it what files you want to see, and it gets them and displays them?  Is there something wrong with the way I am hyperlinking it?  Should I not be using the full path with drive letter or something like that?  I've tried most combinations that I can think of but maybe there is something I am missing.
0
 
LVL 18

Author Comment

by:mgcIT
ID: 9695366
So I guess, the main question is "Is it possible to link to a file that is not in the root of your site?"
0
 
LVL 18

Author Comment

by:mgcIT
ID: 9696334
OK, in case anybody cares, I figured it out.  In IIS you can create a "Virtual Directory" in the root of your site which actually points to another drive, or folder, or network location.  And when you create this directory you can also specify that it is read-only or whatever access you desire.  I'm not sure how this is done under different systems such as Tomcat, but I'm guessing there is probably a way.

so there you go.  Thanks for your help anyways.
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 9710105
PAQed, with points refunded (100)

Computer101
E-E Admin
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Free website editor 10 551
Spry missing in DWcc 6 302
Why does this script not work in this site 2 296
removing xml elements and children 5 525
I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now