?
Solved

Opening Files as Read-Only

Posted on 2003-11-05
10
Medium Priority
?
245 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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:Saqib Khan
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
On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

 
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
 
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

Introducing Priority Question

Increase expert visibility of your issues by participating in Priority Question, our latest feature for Premium and Team Account holders. Adjust the priority of your question to get emergent issues in front of subject-matter experts for help when you need it most.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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 …
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

741 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