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 673653
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T00:37:11+00:00 2026-05-14T00:37:11+00:00

I use DropBox and I’ve had some trouble reaching to my files from other

  • 0

I use DropBox and I’ve had some trouble reaching to my files from other computers:
I not always want to login to anything when I’m in a public computer, but I like being able to reach my stuff from wherever I am.

So I’ve made a simple application that when put in the public folder, ran and given the right UID, creates (still in your public folder) an HTML of all the content in the folder (including subfolders) as a tree of links.

But I didn’t risk loading it anywhere, since there are slightly private things in there (yes, I know that the folder’s name is “PUBLIC”).

So I’ve came up with the idea to make it a simple login page, given the right password, the rest of the page should load. brilliant!, but how?

If I did this by redirecting to other HTML on the same folder, I’d still put the html link in the web history and the “url’s accessed” history of the administrator. So I should generate itin the same page.

I’ve done it:

alt text http://dl.dropbox.com/u/3045472/validate.png

And currently the page is a textbox and a button, and only if you type in the right password (defined in the generator) the rest of the page (with the link-tree) loads. The fault is that everything (password, URL’s) is easily reachable through the source code.

Now, assuming I only want to avoid silly people to get it all too easily, not make a bulletproof all-content-holding NSA certified website, I though about some ways to make these information a bit harder to get.

As you may have already figured, I use a streamwritter to write an html file (head, loop through links, bottom), then it’s extremely configurable, and I can come up with a pretty messy-but-working c# code, though my javascript knowledge is not that good.

Public links in DropBox look like this:

enter image description here

Summarizing: How do I hide the URL’s ande the password to show them (MAINLY the password, of course) in my source-code so that no that it should require some effort on reading ?

P.S.: It’s not that personal, if someone REALLY wants it, it could never be 100% protected, and if it was that important, I wouldnt put it in the public folder, also, if the dude really wants to get it that hard, he should deserve it.
P.S. 2.: “Use the ultra-3000’tron obfuscator!!11” is not a real answer, since my javascript is GENERATED by my c# program.
P.S. 3.: I don’t want other solutions as “use a serverside application and host it somewhere to redirect and bla bla” or “compress the links in a .RAR file and put a password in it” since I’m doing this ALSO to learn, and I want the thrill of it =)

Update 1:
The one answer so far gives a perfect way (according to this question) to hide my password.
Now I want a good way to hide the URL’s, maby a code snippet of the example URL I gave being composed, and if it’s too tricky, maby how to generate it in C#, or anything ?

Update 2:
I thought about maybe making three “obfuscating methods” and choosing them randomly in the runtime. So anyone who figures out how to read one XML, could only read about one third of them, and maybe having a hard time finding the other rest of this third..

Update 3:
Just thought about REGEX, the URL could be neatly crowded by dummy not-url-allowed characters added randomly that would be removed by something like:

regex.replace(url, ^[^\w\d/:-\.%]+$,"")

So the nosy dude should have to be pretty advanced into programming somehow, eh? could anyone tell me if it would work or not ?

  • 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-14T00:37:11+00:00Added an answer on May 14, 2026 at 12:37 am

    Well, as it seems you already know, this is a rather poor choice of security mechanism, but if you insist…

    Don’t store the actual string in the source. Store, for example, its MD5 hash. Then, when the user types in a password, compute its MD5 hash and compare it with the expected one.

    Check out:

    • MD5 in JavaScript
    • MD5 in C#
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any way to use Dropbox to sync selected local files? I like
I am trying to integrate dropbox with iphone and done with login option.I want
I use 3 computers regularly and a fourth one ocassionaly. I have used Dropbox
Is Dropbox just making use of iOS libraries (iBooks code?) to read .doc/.docx files
This is to be able to use Tortoise Git on existing files on Dropbox.
I use Dropbox API and I need to list all files inside a folder
I use Eclipse to write Java code and use DropBox to sync my code
I know there are many tutorials to use Dropbox as a Git repository, but
When coding, I use Dropbox to sync folder in which I keep my projects
I am learning how to use the Dropbox Python SDK. However, I run into

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.