![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Professional Programmer
|
Delete local cookies with javascript
Say I wanted to delete everything in my temporary internet files and cookies folder. Can I do that with javascript?
|
|
|
|
|
|
#2 | |
|
Hobbyist Programmer
Join Date: Nov 2005
Posts: 122
Rep Power: 3
![]() |
Quote:
__________________
"I'm going to become rich and famous when I invent a device that allows you to stab people in the face over the internet" |
|
|
|
|
|
|
#3 |
|
Professional Programmer
|
What i'm getting at is "is there a function to delete contents of X folder on C:\"?
|
|
|
|
|
|
#4 | ||
|
Hobbyist Programmer
Join Date: Nov 2005
Posts: 122
Rep Power: 3
![]() |
Quote:
Quote:
![]() You can't mess with the user's file system without their permission.
__________________
"I'm going to become rich and famous when I invent a device that allows you to stab people in the face over the internet" |
||
|
|
|
|
|
#5 |
|
Professional Programmer
|
if I have the permission, this is only for testnig purposes on my computer. I just want to know if it is possible to do.
|
|
|
|
|
|
#6 | |
|
The Oblivious One
Join Date: May 2005
Location: Ontario, Canada
Posts: 630
Rep Power: 4
![]() |
Quote:
__________________
Dr. Zoidberg: [ecstatic] I'm going to a movie... with FRIENDS! |
|
|
|
|
|
|
#7 | |
|
Newbie
Join Date: Mar 2006
Posts: 1
Rep Power: 0
![]() |
Quote:
|
|
|
|
|
|
|
#8 | |
|
Professional Programmer
|
Quote:
|
|
|
|
|
|
|
#9 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
If the browser didn't keep client-side code in a sandbox, anyone could do anything they liked with your system. Just think about that a minute. You can allow that to be broken by overtly giving permission to install something like an active-X control. The world of white-shoed, plaid-jacketed scumbags on the internet often succeed in getting dummies to click 'YES" for they know not what. I clean up these systems allatime. You cannot access the client's system with Javascript.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#10 |
|
Expert Programmer
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 3
![]() |
I believe you can alter the user's files using signed applets (so the user has to accept it first).
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|