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

  • Home
  • SEARCH
  • 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 6004893
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T01:19:36+00:00 2026-05-23T01:19:36+00:00

Is there a way i can encrypt or scramble a certain text so it

  • 0

Is there a way i can encrypt or scramble a certain text so it cannot from browser view source. For example if i have a video id 117 showing in the view source html, and i want to encrypt that or make it difficult to read, is this possible.

  • 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-23T01:19:37+00:00Added an answer on May 23, 2026 at 1:19 am

    If you want the video link to be useless except in the context of the page you’ve just returned to the client, you can do something with server-side code.

    The usual thing is a one-time or limited-duration ID that’s generated specifically for the page. For instance, ab23jjgk23098jajzklwravmzzxwrpo2q3476as rather than 117. On the server, you have a table mapping these one-time / limited-time IDs to the real ID. In the table you can also link the ID to the IP address of the request for the page, and then only respect the ID if the request for the video comes from that same IP address. It’s important that the IDs not actually contain the video ID (obfuscated or not), hence the server-side table, and that they be effectively random.

    I say “table,” but of course it needn’t really be a database table. It could be anything that lets you store key/value pairs, such as memcached.


    Update based on your comment below.

    Without server-side mapping (database, session, memcached, etc.), all you can do is some obfuscation, and it’s going to be easy for anyone semi-technical to break. If what you’re outputting is a URL (in a link, in an object tag, etc.), you can use URL-encoding to make it hard to read, e.g.:

    <a href='video.php?%6e%6f%6e%73%65%6e%73%65=%66%6f%6f&%69%64=%31%31%37&%72%75%62%62%69%73%68=%62%61%72'>video</a>
    

    …which, when clicked, will call your video.php file with the parameters nonsense=foo, id=117, and rubbish=bar (that’s what’s encoded in the query string, using percent-encoded entities). But again, although it might deter non-technical people, technical people won’t be fazed.

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

Sidebar

Related Questions

Does anyone know do there have any way that I can encrypt the array
Is there a way I can control columns from code. I had a drop
Is there way that I can read the file from remote server using fopen
Is there an (easy) way to encrypt data so that it takes a certain
is there way thats i can preselect an item when the page loads or
Is there some way I can use URLs like: http://www.blog.com/team-spirit/ instead of http://www.blog.com/?p=122 in
Is there a way I can access (for printout) a list of sub +
Is there a way you can run your UnitTest project against a compiled DLL
Is there some way I can define String[int] to avoid using String.CharAt(int) ?
Is there any way I can detect when my page has been set as

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.