JQuery :: Access To Files On Apache2 Without Compromising Security?

Sep 1, 2011

Using Ubuntu 10.x with default user www-data I can view the page that I normally have that uses a slideToggle function that works outside of Apache.

It's not working when hosted on Apache. The rest of the site is viewable using [URL]..

View 1 Replies


ADVERTISEMENT

FSO Directory Access Without Security Gronk?

Jun 24, 2001

I am trying to convert a slide show script to install as Web Content on the Windows2K Active Desktop. My ideal implementation would just display all the image files in a specific directory rather than having to edit the script each time I add or remove an image.

I have written a script that uses the File System Object and works fine, but it puts up an alert box when I instantiate the FSO. I am hoping someone can advise me on how to run this particular script without the alert, but I am not willing to give any old script that happens to run access to any important directories.

View 3 Replies View Related

JQuery :: Access LocalStorage Files Also From Other Apps

Nov 27, 2010

For a calendar project implemented with pure HTML/CSS/JS I need to access local data files (.ICS). These ICS/iCal data has to be accessed also by other applications (eg. sync, backup, etc).Can anyone point to a possible solution to use HTML5 compatible calls (or jQ plugin) AND how to access the localStorage files also from the other apps.

View 2 Replies View Related

Access Files In File Input?

Oct 27, 2010

I am trying to upload multiple files using file input. And I am able to do that using "multiple" attribute of input type file. I can not use file API as I am using python on server side. So after user has selected the files, I want to access those file names in file input to let user cancel any file before uploading and upload rest of the files. The "value" attribute of input file does not work as it doesn't let me write.

View 5 Replies View Related

Using Frameworks To Access Text Files?

Jul 5, 2011

Could anyone link me to an example of how to read a text file into a javascript variable using mootools or jquery(or explain it yourself)? Mootools would be preferred because my jquery framework is a little archaic.

I can't find a very comprehensive example only directions for how to make requests and the examples don't explain how to use the input. Oh and I'll be using this script on my website and the text file will be located on the same server.

View 7 Replies View Related

Access Local Text Files ?

Mar 30, 2011

I've been working in VBA for quite some time, and would like to make some of my scripts available through a browser. One script will open a text file, parse it, and then commit the parsed results into an object. I can't for the life of me figure out how to do this task in js...

In VBA, the code would be something like:

Code:

View 5 Replies View Related

Restrict The Access For Web Content Resources Files?

Jun 7, 2011

I have a Web application and the web resources like jss,css,jquery files are located outside of the WEB-INF directory (Java application) and if some user or hacker change the URL could see the source code for many js and jquery files.

View 4 Replies View Related

Browsers Off Not Access <script Type="text/javascript" Src="...files?

Apr 17, 2009

just came across this in a book for browser javascript on/off detection:

Code:
<noscript>
<img src="monitor.php?scriptoff=true" />
</noscript>
just wondering if browsers when js is off will ever access any
<script type="text/javascript" src="file.js"></script>

files? i mean wouldn't it be better not to bother with the noscript thing and just be aware of if file.js is accessed? or do some browsers access the file.js even when js is off?

View 3 Replies View Related

JQuery :: Ajax Request Works With .xml Files But Not .php Files?

Aug 27, 2010

In my quest to implement ajax for the first time i've hit a brick wall. i've been searching for hours for a solution but with no success. Here is the problem.

[Code]...

why is it not working? my PHP code is outputting the contents of the xml document.

View 1 Replies View Related

Jquery :: Book Viewer With Security Features

Sep 7, 2010

My client currently has a Flash book reader on his site that provides a UI for reading a book.Each page of the book is a GIF, and there are hundreds of books available.Now, my client would like to change this reader, and I've convinced him to let me rebuild the reader in jQuery.The hiccup is that, for copyright reasons, the images of the pages in the book must not be downloadable or accessible in the source code.(In other words, there shouldn't be a way to steal the book other than taking a screenshot of every page.)I want the reader to be powered by jQuery, it is, by definition, in-browser.

View 9 Replies View Related

Mail Service - Attach Some Excel Files Of Text Files And To Send It

Aug 16, 2010

I have designed a mail service in java.In my compose page,i want to attach some excel files of text files and to send it.After sending i want to store it my database.Then how can i download or open that file after opening that recipient mail inbox.

View 1 Replies View Related

XMLHttpRequest Script - Works For Local XML Files But Not For External XML Files?

Oct 2, 2010

I have the following JavaScript (see below). The script requests an XML file from the server and displays it on the page.The script works fine when the requested XML file is stored on the same server as the script.The problem is when I try requesting an XML file from an external server such as the National Weather Service. I get an error. If I take the XML file from the National Weather Service and save it to my server it works. Why can't I use my script to request XML files stored on external servers?

Javascript Code

Code:

window.onload = initAll;
var xhr = false;
function initAll() {
document.getElementById("makeTextRequest").onclick = getNewFile;

[code]....

View 6 Replies View Related

List All Files In A Folder Including Subfolder Files?

Sep 5, 2008

I want to write a javascript to list of all files in a folder including files in the subfolders. This is for the scorm purpose to list all the files. some examples are listing files but not listing the files inside the subdirectories. I want the file's full path like C:Documentsjavascriptwilson.js like this.

View 5 Replies View Related

Show Images From Four Files - Each Files Are In Each Folder?

Jan 15, 2010

I have four folders and each folder has one images, let say ( images-one.jpg, images-two.jpg, images-three.jpg, images-four.jpg). now,in index.php page there are four buttons, each buttons for each images. if i clicked button numer two for images-two.jpg, and then it will show that images name from that folder in index.php page. and then if i reload same index.php page or refreshed same page, i want to show SAME images that I clicked before which is images-two.jpg. how can i write that code to show images from four files, each files are in each folder.

View 1 Replies View Related

JS And Security.

Sep 1, 2005

According to a financial website I tried to access without javascript:
"the site uses JS for security reasons."

How would using JS improve security?

View 15 Replies View Related

Security

Jan 30, 2006

I have an application which runs with secure access. User logs in,
uses the services, and logs out. After logging out, if the user click
the back button, it actually takes them to that page. How can I
prevent this?

Is there a way, that if the person clicks the back button or access a
browser history, how can I make sure that the latest page is displayed
instead of just the cache. Or, clicking the back/history should
refresh that page.

View 8 Replies View Related

Security Issue

Jul 23, 2005

I have a intranet site that allows users to log in and get excel
reports. The user clicks the name of the report and it opens it from a
folder for that user. Easy enough. The problem is that the path of the
folder for that user is displayed in the Status Bar when it is being
downloaded. I've discovered that users are grabing that path, changing
the folder name, and can then access other folders. I don't want that
to happen.

View 1 Replies View Related

Security Of Javascript

Jul 20, 2005

I was wondering if using Javascript to redirect a user, on the client
side, to different pages depending on what they entered was insecure.
I do not want the user to be able to view the source of the page. I
am having the user enter in some input using the input dialog box and
then using a window.location redirection based on their input. Is it
possible to view the source of a page after the input box has closed
but before the new page has loaded, ie. while the browser is
requesting the new page?

View 2 Replies View Related

Run JS In IE And NOT Get The Security Prompt?

Oct 14, 2009

I'm working on an html form that will be launched from within another application, but every time it launches the form none of the JS coding works because of the stupid IE security. If I launch the form from outside the application I just have to select "allow blocked content" from that stupid information bar that says "to help protect your security IE has restricted the webpage from running scripts...."

I added the application site to our trusted sites and basically turned off security for that zone but it still doesn't work. Obviously there is a way to run JS without allowing the content, but I don't do enough coding to know how that is done.I need the JS to run automatically without that information bar appearing at all.

View 4 Replies View Related

Ajax And Security

Aug 28, 2007

If my Ajax is set up like

html <--->ajax(js)<--->server(php)

it would be easy for someone to copy the html and javascript pages to their site and then access my server pages. I don't suppose it matters much if someone did that as long as the php page had proper validation but is it possible to block someone linking to my server pages like that.

View 4 Replies View Related

Javascript & Windows XP SP2 Security

Jul 23, 2005

As most Javascript coders probably know by now, IE on Windows XP SP2 likes
to prevent our code from running right away (the user is asked to give
permission the first time). Although I can see the danger in allowing all
scripts to run, the fact that IE makes it sound like we are going to install
some huge, horrible application when we are simply adding rollovers or
client-side validation or some other simple little thing really frustrates
me. Specifically what stuff does IE block? Does it check for certain methods
in the script? Does it block everything until you say it's OK? What can
places do to allow their scripts to be run without the need to be validated
by the user? I have heard about "Signed Scripts", but I feel that it would
be hard to modify and develop when a script had to be "Signed" every time.
Any comments?

View 2 Replies View Related

Test For Security Settings

Sep 1, 2005

Is there a way to test for security settings in a users browser AND
their firewall. Lets say someone is using zonealarm. Is there a way
to test for their setting in zonealarm, so I can then redirect them to
a specific page.

The reason I am asking is that I have a flash front page. A user
cannot see the page because he has his security settings set so that he
does not see activex controls. I want to be able to test for those
settings then redirect him to a static page.

View 11 Replies View Related

Security-glitch In IE Using XMLHttp?

Sep 7, 2005

It's a security setting "Access Data Sources across domains" you've
got lowered security for whatever zone you accessed the page in.

View 3 Replies View Related

Javascript Security Specification?

Aug 27, 2006

I am looking for the official javascript security specification for web
browsers. EMCAScript and DOM spec does not seem to contain a section on
security, so I assume none exists and the security policies are
implemented as the vendor pleases. If so, do security specs for IE and
Mozilla exist?

View 1 Replies View Related

Detecting Htaccess Security

Oct 5, 2007

I am writing a script that uses xmlhttp.open, when i attempt to open a protected page I get the login prompt for my htpasswd. Is it possible to detect if there is a login requirement before the login prompt and if there is a login just do something else? I can use xmlhttp.status and check for 200 but if I do this then it would happen after the login prompt.

View 1 Replies View Related

What Would Be The Best Form Of Security With The Script?

Sep 8, 2009

I have a webpage in which my users complete a form in order to get through to page 2. I cannot use PHP to check as it must be on-the-fly checking.My idea was like the following:

<script type="text/javascript">
function check(x)
{[code]...

And for the images to actually be PHP files that check further details of the user and insert details to DB. Then when the user clicks the next button it will check to see if all 4 users have loaded under that users details.However, I would much prefer it if I could use more PHP as I'm a Javascript n00b. Preferably I would like to use PHP to create unique keys for the images so that once I have obfuscated the javascript code the user will not figure out how to cheat the system even if they manage to reverse engineer the code.

E.g.
<?php
$pic = "picture.jpg";
?>[code]...

Or is this not at all possible?

Edit: I know how much simpler that first script could have been, was just trying to simplify from my double as messy full script which will probably confuse you even more!!!

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved