+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member pode1's Avatar
    Join Date
    Dec 2002
    Location
    Córdoba-Argentina
    Posts
    50

    DHTML (js) - Accesing through onmouseclick - permissions?

    I´ve got a frameset with 2 pages on it.
    First one lists a set of files, each one should be accesed through a mouse click ... so far so good ...
    But only can be accesed those that had been downloaded from the net (!???!) Others are rejected with an error message "access denied" OR anything´s showed either, but a blank page!

    OBviously seems to be related to some permission issue , but both type has the same! Accesed and denied ones! Visitor´s permission I mean.

    Here´s the PHP code:
    echo " <td id='t$i' onclick= \"document.url= window.event.srcElement.innerText\"> i:\myfolder\mifile.htm <!-- this is innertext for the actual td tag, url to be opened --> </td>";


    Files are set in wwwroot folder ... where every file has a set of access/ deny rights.

  2. #2
    Ultimate Member
    Join Date
    Aug 2002
    Posts
    3,922
    try document.location.href instead of document.url.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts







New Security Features Planned for Firefox 4
Another Laptop Theft Exposes 21K Patients' Data
Oracle Hits to Road to Pitch Data Center Plans
Microsoft Preps Array of Windows Patches
Microsoft Nears IE9 Beta With Final Preview
Simplified Analytics Improve CRM, BI Tools
Android Passes RIM as Top Mobile OS in 2Q
VMware Updates Hyperic System Management
File Monitoring Key to Enterprise Security
LinkedIn Snaps Up SaaS Player mSpoke