Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6934971
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T12:02:12+00:00 2026-05-27T12:02:12+00:00

I have a jsp file that generates some files at runtime, which are also

  • 0

I have a jsp file that generates some files at runtime, which are also used by swfObject in another page. But i want to prevent the direct access to those files from browser. Since my files are generated at runtime of my jsp s, i don’t know how to configure it from .htaccess.
All the files that i want to prevent access has .xml extension.

Could you offer a method to me ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T12:02:12+00:00Added an answer on May 27, 2026 at 12:02 pm

    This might be pretty impossible:
    You want swfObject/Flash to be able to access the files but the browser in which the swfObject/Flash runs should not be able to access the same xml files.
    For the webserver/.htaccess there is little difference between those two accessing parties.

    If swfObject were to access the jsp directly without the generation of temporary files you could work with a “secret” key that is checked in the jsp before the xml is returned. But of course everybody that knows his way around will find this key (firebug for the rescue) and can access your xml therefore.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a jsp page that is trying to reference some user defined classes.
I have a webapp in Tomcat with a main JSP file that includes another
I have a jsp page which should load a popup using ajax. The content
I have some static html content (included on a dynamically generated page) that I
Suppose I have a JSP file that contains a tag (hence a .tag file).
I have a .csv file that needs to be read for my jsp. I
I'm having some issues getting my pdf file to display in my jsp page.
I've got some jsp files that are supposed to output xhtml. They seem to
I have created a simple JSP file that I want to deploy in Jetty
I'm new to jsp and have ran into some trouble. Initially, the jsp file

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.