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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T07:48:19+00:00 2026-06-02T07:48:19+00:00

I am using ColdFusion 8 and jQuery 1.7.2. I am using CFAJAXPROXY to pass

  • 0

I am using ColdFusion 8 and jQuery 1.7.2.

I am using CFAJAXPROXY to pass data to a CFC. Doing so creates a JSON array (argument collection) and passes it through the URL. The string can be very long, since quite a bit of data is being passed.

The site that I am working has existing code that limits the length of any URL query string to 250 characters. This is done in the application.cfm file by testing the length of the query string. If any query string is great than 250 characters, the request is aborted. The purpose of this was to ensure that hackers or other malicious code wouldn’t be passed through the URL string.

Now that we are using the query string to pass JSON arrays in the URL, we discovered that the Ajax request was being aborted quite frequently.

We have many other security practices in place, such as stripping any “<>” tags from code and using CFQUERYPARAM.

My question is whether limiting the length of a URL string for the sake of security a good idea or is simply ineffective?

  • 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-06-02T07:48:21+00:00Added an answer on June 2, 2026 at 7:48 am

    There is absolutely no correlation between URI length and security rather more a question of:

    1. Limiting the amount of information that you provide to a user agent to a ‘Need to know basis’. This covers things such as the type of application server you run and associated conventions, the web server you run and associated conventions and the operating system on the host machine. These are essentially things that can be considered vulnerabilities.
    2. Reducing the impact of exploiting those vulnerabilities i.e introducing patches, ensuring correct configuration etc.

    As alluded to above, at the web tier, this doesn’t only cover GET’s (your concern), but also POST’s, PUT’s, DELETE’s on just about any other operation on a HTTP resource.

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

Sidebar

Related Questions

I am using ColdFusion 9 and jQuery. I am using CFAJAXPROXY. I have am
How do I post a form using jQuery.post() to a Coldfusion.cfc method and return
I am using ColdFusion 9.0.1 and jQuery 1.6.2. I am doing an call using
I am using ColdFusion 8 and jQuery 1.7. ** This is a programming question,
I'm using Coldfusion ORM (Hibernate), and have a cfc mapped to a database table.
I am using ColdFusion (Railo 3.3), and I have several forms using jQuery that
I'm looking into using Jquery to replace some of our native Coldfusion ajax functionality.
I'm using coldfusion and jquery. This is my first real go at jquery and
Rebecca Murphy talks about using jQuery templates. The JSON that Rebecca uses looks like:
I've got a successful call going out to a coldfusion database controller using jQuery's

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.