Again question about restricting access to files through URL?

I found many topics about this, but every time it is some special case.
I want to ask it simple. How can I restrict access to some files in my application through entering URL in Browser, no matter if I am logged or not.
For example I have included JSP files with jspf extension. I don't want to access them through url. How can I do this?

May be it will work, but it seems somehow workaround decision - one half of jsp files in one place and another part in other place.
Message was edited by:
cheltsov

Similar Messages

  • I have a question about using adobe CS files in CS6 edition

    I am a graphic artist . I have a question about using adobe CS files in CS6 edition. when I am gonna open thse adobe CS created files in CS6 Edition i get a color variation than i made with the CS version.Please give me an idea about this issue as soon as possible.If you need i can upload my problem as a screenshot to clearity

    donrulz,
    Are your Edit>Color Settings the same?
    Are you using spot colours, such as Pantone (there have been some changes in CMYK values with new colour books)?

  • Installed PSE 8 and am now unable to access RAW files through Camera Raw.

    Help! I have installed PSE 8 and
    now cannot access Raw files through Camera Raw click
    on Editor and the photographs open in Editor.
    I have tried installing the upda
    te 8bi in the plug-in and there was already a plug-in there.
    PSE6 worked fine on this system. Any help appreciated.

    Firstly thanks to the people who
    offered help. This is what I did and somehow the problem is solved. I installed PSE 8 on my old machine with XP and an old Xerox monitor and it worked OK. I uninstalled PSE 8 from the newer machine on Vista. Made sure all the adobe files for pug-ins had gone then reinstalled. I then tested the screen resolution of my monitor a HP w1907v, smaller resolutions made no difference but opening it up to max did. When I wish to open a RAW file click open click the photograph and in the bottom file format box make sure you are asking for RAW files to be opened and 'bingo'. This upgrade for PSE 8 has the latest CameraRaw on it but the problem was there from the first installation so perhaps it is a combination of screen resolution and making sure the file format for opening is specified. So after hours of effort a satisfactory outcome. I probably confused the issue by installing the plug-in when there was no need. PSE 8 will last me a long time!!!

  • Can't access jpeg files through finder after import to iPhoto '11

    Am I missing something here? I recently imported my entire library from a backup source to iPhoto '11 on a new computer. I used to be able to browse the folders in the iPhoto library in a finder window. Now when I try to open the iPhoto library, the application itself launches.

    Since iPhoto 7 (iLife 08) the old iPhoto Library Folder is now a Package File. This is simply a folder that looks like a file in the Finder. The change was made to the format of the iPhoto library because many users were inadvertently corrupting their library by browsing through it with other software or making changes in it themselves.
    Accessing files via the Finder has never been supported on any version of iPhoto.
    There are many, many ways to access your files in iPhoto:
    You can use any Open / Attach / Browse dialogue. On the left there's a Media heading, your pics can be accessed there. Command-Click for selecting multiple pics.
    Uploaded with plasq's Skitch!
    *_(Note the above illustration is not a Finder Window. It's the dialogue you get when you go File -> Open)_*
    You can access the Library from the New Message Window in Mail:
    Uploaded with plasq's Skitch!
    Many internet sites such as Flickr and SmugMug have plug-ins for accessing the iPhoto Library. If the site you want to use doesn’t then some, one or any of these will also work:
    If you're using Gmail you can use iPhoto2GMail
    If you use Apple's Mail, Entourage/Outlook, AOL or Eudora you can email from within iPhoto.
    If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser.
    *If you want to access the files with iPhoto not running*:
    For users of 10.6 and later:
    You can download a free Services component from MacOSXAutomation which will give you access to the iPhoto Library from your Services Menu. Using the Services Preference Pane you can even create a keyboard shortcut for it.
    Other options include:
    1. *Drag and Drop*: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
    2. *File -> Export*: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
    3. *Show File*: File -> Reveal In Finder on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected.
    3. *Show File*: Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected.
    You can set Photoshop (or any image editor) as an external editor in iPhoto. (Preferences -> General -> Edit Photo: Choose from the Drop Down Menu.) This way, when you double click a pic to edit in iPhoto it will open automatically in Photoshop or your Image Editor, and when you save it it's sent back to iPhoto automatically. This is the only way that edits made in another application will be displayed in iPhoto.
    Note that iPhoto sends a copy+ of the file to Photoshop, so when you save be sure to use the Save command, not Save As... If you use Save As then you're creating a new file and iPhoto has no way of knowing about this new file. iPhoto is preserving your original anyway.
    All of the above are a: Faster and b: Safer than rooting around in the old Library folders.
    Regards
    TD

  • Access is denied while accessing .js file through OHS URL

    I have a strange issue, can somone share your thoughts Please,
    We have deployed deployed the WebCenterPortal application into the server, and it is working fine if we access it through the deployed server url, but,
    we have a http server(Oracle HTTP Server)to protect the deployed applications url, here when iam trying to access the same deployed url using http server url, it is working fine for all the pages but not for some pages , it showing the below error,
    Message: Access is denied.
    Line: 89
    Char: 282
    Code: 0
    URI: http://xxxxx/portl/afr/partition/ie/n/default/opt/core-11.1.1.6.0-1318.js

    Sure Yannick,
    we have Webcenter Portal servers on Linux box, and OHS is on Windows box,
    We are able to access all the pages but some pages its throwing the java script error mentioned above, we have not included any javascript code inside the pages, that core-11.1.1.6.0-1318.js could be a framework javascript file,
    Here is the ohs entry,
    </Location>
    <Location /PortalOne>
    SetHandler weblogic-handler
    WeblogicHost exalogichostname
    WeblogicPort xxxxx
    </Location>
    Please let me if i can give more information about the issue

  • Restrict access to files

    Hi,
    i'm trying to restrict acccess to all the files ending with ~ in my server , i couldn't do it. I try to deny access for files ending with ~. I have sun one webserver 6.1 sp1 in a sunfire solaris 9 machine. i tryed to do what is written in the documentation using the wildcard *.*~ and deny all order but this close all the server not only the ~ files. i don't know what happen why the server can't understand.
    May be is imposible to restrict files in all the server?
    thanks!

    meena.vyas and jyri, please note that the uri parameter specifies a wildcard pattern. As stated in the the Using Wildcard Patterns section of the NSAPI Programmer's Guide at http://docs.sun.com/source/817-6252/npgwldcrd.html, ~ is a special character in wildcard patterns. As such, your examples will not work.
    ylapin, the following should do what you want:<Client uri="*\\~">
    PathCheck fn="deny-existence"
    </Client>You can add the above immediately below the <Object name="default"> line in the obj.conf configuration file.

  • Question about RAW to JPG file sizes

    Hello all, I have a question/concern in reference to file size changes when converting from RAW to JPG formats in PSE6. I've recently purchased a CANON 50D, and have started shooting in RAW format (actually RAW2+JPG). I have the CAMERA RAW 5.2 plugin and my workflow process is something akin to this:
    1. Separate all RAW and JPG images into their respective folders.
    2. Open the RAW folder in BRIDGE, and then open up a CR2 file. CR2 file is approx 15MB at this point, as reported in Finder.
    3. Perform various corrections in ACR52 to the file, then do as SAVE AS to a DNG file.
    4. Next step is to OPEN IMAGE, bringing it up in PSE6.
    5. Make any necessary corrections to the picture, and then do a SAVE AS to a new file name and folder, selecting JPG format.
    6. Selection MAX QUALITY from subsequent dialogue box, and SAVE.
    When the file is saved, its now down to a mere 2.1 or 2.2MB, and when viewing its properties (vs. the same file that came from camera in JPG format), its down from a 44x66" format, to somewhere around 4x6" and 240dpi.
    I've been doing some reading on this over the weekend, but cant explain away the severe loss in file size, and whether this is right, or if I'm doing something wrong in the process.
    Appreciate any advice or suggestions to help improve my work processes, and ultimately the final photos!

    Regarding your file size questions, have a look at this thread and see if it answers some of your questions:
    http://www.fredmiranda.com/forum/topic/741532/0
    > When the file is saved, its now down to a mere 2.1 or 2.2MB, and when viewing its properties (vs. the same file that came from camera in JPG format), its down from a 44x66" format, to somewhere around 4x6" and 240dpi.
    Dimensions and resolution are related and multiple combinations can be produced from the same number of pixels. For example, your 50D at maximum image size produces 4,752 by 3,168 pixels. This full-size image could be printed at:
    - 19.8 x 13.2 inches at 240 PPI
    - 47.52 x 31.68 inches at 100 PPI
    - 7.92 x 5.28 inches at 600 PPI
    As you can maybe see, talking about dimensions and resolution doesn't make much sense until you are ready to consider printing. Note also that I used "PPI" or Pixels Per Inch since this is the slightly more correct terminology. DPI or "Dots Per Inch" is usually a reference to how a printer lays down the ink drops onto the paper. Many printers actually put more "dots" on the paper than there are pixels. Many people and companies use DPI when they mean PPI.
    Now in your case you are apparently starting with an SRAW2 raw file. SRAW2 files from the 50D have a reduced number of pixels and are 2,276 pixels wide by 1,584 pixels high. At 240 PPI this would allow you to print the image at 9.9 by 6.6 inches. If you are ending up with something smaller than that, it means you have either re-sampled the image (changed the image so the same image is displayed with fewer pixels) or you have cropped the image.
    Hope that helps.

  • Opening windows "Access" database files through network

    Is there any way to open windows "Access" database files on my mac through a network to a windows machine? I have the windows for mac software but it doesn't include access.

    Hi,
    As per the description, I understand that your Office 2013 cannot open files through a network share directly.
    I would like to know that how many clients/users are affected by this in your environment. It could be some specific user account settings, that the Office applications are being affected by.
    I'd first suggest you try with a new Windows user profile, then verify result.
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • How to access remote file through PL/SQL

    I need to access remote operating system files through PL/SQL. I have tried accessing using utl_file package by setting UTL_FILE_DIR parameter to the mapped drive of the remote machine, but when tried to read the file it raises INVALID_OPEARTION exception.
    I have also tried accessing through the directory object also.
    Would appreciate if anyone can suggest for the same.
    Thanking you in anticipation
    Regards,
    Vipul

    Hi,
    A remote file means a file that is on a Shared server resource. This file cannot be accessed by Oracle Unless the that drive has been mapped on the Server and proper permissions are given.
    The file can be accessed by the client if he is using TEXT_IO and the shared drive is mapped to the client.
    Hope this helps ...
    Regards,
    Ganesh R

  • Restrict access to files with JAAS

    Hi,
    I would like to restrict access based on a JAAS-autenticated user to a file named
    c:/foo.txt. I have written some code that checks if the autenticeted user has
    access to the file, but how and where do I grant the user access with JAAS in
    WebLogic Server 6.
    FilePermission filePerm = new FilePermission("c:/foo.txt", "read");
    java.security.AccessController.checkPermission(filePerm);
    thanks
    /Chriz

    meena.vyas and jyri, please note that the uri parameter specifies a wildcard pattern. As stated in the the Using Wildcard Patterns section of the NSAPI Programmer's Guide at http://docs.sun.com/source/817-6252/npgwldcrd.html, ~ is a special character in wildcard patterns. As such, your examples will not work.
    ylapin, the following should do what you want:<Client uri="*\\~">
    PathCheck fn="deny-existence"
    </Client>You can add the above immediately below the <Object name="default"> line in the obj.conf configuration file.

  • Accessing a file through FileReader

    I've to give the full path while accessing the file using the following code. Is there any alternative where i can provide the relative path and still get the desired result?
    BufferedReader in = new BufferedReader (new FileReader ("/apps/secDBadmin/classes/database.cfg"));
    I'm accessing the file database.cfg from a class which is inside the same folder (/apps/secDBadmin/classes).

    Did you try ClassLoader.getResourceAsStream(String)
    For your case the code will look something like,
    Class c = Class.forName(YouClassName);
    or
    Class c = this.getClass();
    InputStream in = c.getClassLoader().getResourceAsStream("JustTheFileName");
    BufferedReader rd = new BufferedReader(new InputStreamReader(in));

  • Best Practices: Question about Passing DataSet to Crystal through C#

    I have used the tutorial provided by Business Objects and have successfully passed a dataset from C# code to Crystal Reports.
    I have a few questions about "best pratices" though.
    It appears that when passing the dataset to crystal then you no longer have the ability to put SQL Expressions in the report anymore otherwise errors will occur.
    So, I'm trying to come up with a way to have a custom field in the SELECT statement and have it show up on the report as a field. So, in the below example I created a custom SQL field called TIMES7 in the query.
    "Select CLM_ID, CLM, PAID_111X, *(PAID111X * 7) As TIMES7*_ From WIKI.MULCRICKET WHERE CLM_ID < 5"
    If I create a formula field in Crystal and set it's value to {MULCRICKET .TIMES7} then it works like a hybrid SQL Expression at run-time.
    This does work but has issues because the database field doesn't really exist in the design environment which causes error when the formula is saved. But it does work at run-time.
    I was wondering if their was a best practice for this?

    So why are you using a formula that doesn't work? If it errors in the designer it's telling you it's not supported.
    Drop the formula into a filed and hide it if you don't want it displayed, this way it gets into the record selection formula.
    "Best Practices" is don't use formulae that won't verify in the Designer. "If it doesn't work in the designer it won't work in code"
    If you need to add an "unknown" field at run time then use RAS to insert the field.

  • Accessing XML files through java

    Can any one explain me the easiest way of accessing XML files from Java.

    Hi,
    If you want to only access the XML file, use the SAX parser It will be very easy to handle and identify the element and value.
    else if u want to change the XML value also, then better go with DOM, Which has very good flexiblity.
    use according to the need, let me know if any help is required......
    With Cheers
    PrasannA

  • Question about Database Access

    Hello,
    I have one question regarding database access from Java.
    What are the other ways of connecting to database other than JDBC? This was one of the question I been asked by the interviewer. He says JDBC connection can slow down the perfomance when it comes large number of transactions?
    Any insight or help will be very useful.
    Thanks

    He may have been referring to available "persistance managers" like Hibernate or the mechanisms build into EJB containers. However, as far as I know, they all use JDBC, and any speed-up is due to caching of data as objects.

  • Question about using a SATA drive through an Epress34 card???

    I have a basic question about OSX and how it treats a SATA drive hung from an Express34 SATA card. So OSX just treats any drive as a mounted drive as far as I know bbut what about when booting...
    If, at boot up, I use the 'cmd C' option to select an external SATA dirve hanging off of an Express34 SATA card, will OSX see that drive as if it just were the internal drive in the MBP or is there some inherant difference between the real internal drive and any other SATA drive?
    I guess the question is... does the cmd C option really just tell the OS to treat this drive as though it were the interal drive and boot from it (assuming the drive is bootable of course) or is ot doing something else.
    If that is the case, why can't I use an external drive and install BootCamp on it, assumiong that I booted from this drive?
    Is there a difference between an external SATA drive from an Express34 card and an external firewire drive?
    TIA,
    Peter

    vedderfan94 wrote:
    why?
    *From the itunes store terms of service*:
    +to purchase from an iTunes Store in a particular country, you must have both a residential address and a billing address in that particular country. Items on any particular country's iTunes Store are available only for distribution to customers who use a credit card, debit card, iTunes Gift Certificate, or iTunes Gift Card issued in and for that country.+
    JGG

Maybe you are looking for

  • Sharing itunes libarary with multiple users on one laptop

    I have a MBP 17". I share the machine with my daughter. I wish to allow her to access my music in her profile without having to copy my whole library and putting it into her profile as this would use up a lot of space. Can someone please give mea STE

  • My iPad air2 camera was so bad

    it it have a lot of noise! Even if photo it in light room (even if in shop) iis it normal? I expected for iPad air camera better than this

  • PLEASE HELP!!! Font Driving me crazy!!!

    I just installed all of my fonts on my new iMac. These fonts never gave me a problem on my PPC Powerbook so I thought they would be fine on the Intel iMac. I was seriously wrong. I have searched through every font in fontbook and can't seem to find t

  • Ipad stuck at apple during software update

    my iPad is stuck at apple logo during software update - what to do i have important date stored in it

  • Query Regarding fetching selected records from table

    Hi All, I have a table like below: NUM1     NUM2     TYPE 1     2     A 1     2     S 2     3     S 3     4     A 3     4     S 4     5     S If for a record TYPE='A' then do not select the records for those num1 and num2. Eg: for num1=1 and num2=2 t