How to create security character validation to avoid automated programs

Hi All,
I am developing a web page for creating user accounts. I would like to do the security character validation to avoid the misuse from automated programs.
This is what you may have seen on all popular web pages where you are asked to enter a scrambled set of characters into a text field before submitting your request.
Please provide any samples or direct me where I can get some help on this.
Your help is greatly appreciated.
TIA,
CK

Why look for samples when u can can use ur own logic and thinking ?
My approach ...
1) Create a lot of scambled images having alphabets like 'rhoit' , 'rohit' ..
File naming convention should be same as the text. Ex: rhoit.jpg, rohit.jpg ...
2) Add the images names into a table and then populate a HashMap / ArrayList containing the image names
3) Randomly pick some artibitrary element from the Arraylist and display the corresponding image in the create user accounts page.
3) Compare the image name with the inputed text value for a match. The expected value should be set in request parameter.
4) Handle the success/failure condition.
I hope that should work fine.
Regards
-Rohit

Similar Messages

  • How to create new character styles in Numbers 3.0

    In Numbers 3.0, it is possible to update existing characters styles, but I cannot find how to create a new character style, the + sign in the popup is always inactive when I edit text in a cell. The paragraph style popup has an active +, but it doesn't work for character style.
    Is there any way to create a new character style?

    Guillame,
    You're right about not being able to add styles, and I have not figured out how to modify a predefined character style, other than to Rename or Delete a predefined style. I have added this to my list of things lost.
    Jerry

  • How to create relationship to call PO13 in ABAP program.

    Hi,
    Could anybody help me how to create relationship (like PO13) in abap program. Do we have any Function modules or any other way?
    Regards,
    Ram.

    Hi,
    You can use function module RH_INSERT_INFTY. There are plenty of threads of the forum on how to use it.
    Donnie

  • How to create a directory or Folder  using java program?

    Hi all,
    Can any one know, how to create a directory(new folder) in java.
    can any give me some idea, on creating a directory using java program dynamically.
    thanx in advance

    hi thanks for your answer,
    sorry, actual i know this technique(its my fault i didnt mentioned it)
    i am looking for some what different technique.
    bye
    ram

  • How to create a .java file through a j2me program?

    I am trying to develop a small application in j2me which needs dynamic creation of a .class file. For this purpose I tried to create .java file through my j2me code, but i could not do that..I want to know whether a java file can be created on a mobile phone or not..
    I would be grateful to you on your help in this regard..

    ...develop a program xyz.java using j2me which performs the following functionalities:
    1.create a file called abc.java
    2.extract its class file...For +1+ ie to create a file (any file, no matter java or not) from j2me, device need to support File Connection specified in [jsr 75|http://www.jcp.org/en/jsr/detail?id=75]. If you're interested, learn the jsr API on how to create and manage needed file.
    For +2+ described as extract its class file one needs to have java compiler (javac) on device. *) If you're interested, ask for more details at [Java Compiler forum|http://forums.sun.com/forum.jspa?forumID=7]. Also, if the class file is for CLDC then javac needs to support "JDK 1.3-compliant" compilation. To create CLDC classes on device, one also needs to have a preverifier tool. Check this at Java Compiler forum if needed.
    Good luck - I think you'll need a lot of it...
    *) javac on device -- it should not only be present but also provide a j2me API allowing to invoke it for particular java file with needed options. Same applies to preverifier tool.

  • How to create a Menu for PeopleSoft HRMS application program ?

    Folks,
    Hello. I am developing PeopleSoft HRMS application program for a client. I have created 10 components. But I don't understand how to create a Menu on the left handside for users to access the components. The Menu's structure is as follows:
    Folder Root containing Folder1, Folder2.
    Folder1 containing Folder1a, Folder1b.
    Folder2 containing Folder2a, Folder2b.
    Folder1a containing Component1, Component2.
    Folder1b containing Component3, Component4.
    Folder2a containing Component5, Component6, Component7.
    Folder2b containing Component8, Component9, Component10.
    The Folder Root should appear in the Menu on the left handside. A user can reach Compoent1 by clicking
    Folder Root -> Folder1->Folder1a ->Component1.
    Can any folks tell me how to create such a hiearachical Menu ? Thanks.

    Folks,
    Hello. Thanks a lot for replying to me. By using PeopleTools->Portal->Structure and Content Reference, I have created the hierachical folder groups:
    FolderRoot containing Folder1 and Folder2
    Folder1 -> Folder1a -> the link to a Component
    Folder1 -> Folder1b -> the link to a Component
    Folder2 -> Folder2a -> the link to a Component
    The above hierachical folder groups have appeared on the left handside under "Menu" and work correctly.
    But when click on "FolderRoot", "Folder1" and "Folder2" don't appear under "FolderRoot" on the right handside of the screen. When click on "Folder1", "Folder1a" and "Folder1b" don't appear under "Folder1" on the right handside of the screen.
    I have checked PeopleTools ->Portal -> Structure and Content Reference's folder administration, there are no places to type in information to have children folders appear under its parent folder on the right handside of the screen.
    My question is :
    How to make children folders appear under its parent folder on the right handside of the screen ?

  • How to create messages for Validation in transaction type OB28

    Hello All!
    I am creating a validation in transaction type ob28. I have created the first point "prerequisite", second point "Check" and in the third point "Message" I want to put the message number 016 but the next error appears "Entry E ZFI 160 does not exist in T100". How can I create this messages number?
    Thank you in advance!

    Hi Leyre,
    This message applies to a problem with change requests. When creating a message, it's a workbench request that system has to create. Apparently, when you try to create a message, it tries to catch 'tramp' on existing CR which is assigned to a different client in your system. You should try assigning a new CR for this change; you could ask your BASIS team to help you on this.
    Regards,
    Eli

  • How to create secure EJB web service in Oc4J using JDeveloper?

    We are going to develop a EJB web service running in OC4J using JDeveloper 10.1.3.3.
    By using the JDeveloper feature, we can simply create the web service by using the "Web Service Endpoint Interface" in the session bean.
    However, unlike the web service created from Java class, I can't find any option to change the security setting of this web service. We tried adding annotation like @DenyAll for testing, but there has no effect and related method can still be called without WS-Security header.
    Now, we can only change the security setting via the web console after deployment (select the web service, then enable security in administration page, and then edit security configuration to change the inbound policies for authentication). It works in our local machine, but it may not work in the production environment as we cannot touch the em console.
    May I know if there has any way to include the security setting inside the project?
    Thanks in advance.

    If I am not wrong, you might be probably talking about this :
    http://docs.oracle.com/cd/B40099_02/books/EAI2/EAI2_WebServices33.html#wp179056
    In order to implement the SOAP header, you would have to :
    (1) Define SOAP header in the wsdl of the service.
    (2) Add a new soap binding in the wsdl, which contains soap header and soap body.
    I think, this should get you going..

  • How to create superscript character in auto-correct ?

    Auto correct has built-in conversions with super / subscript, such as the fractions it offers.
    I need to create a custom auto-correct, where I can get the scientific notation for 'degrees' celcius.
    I need the 'o' to display superscript, just before the "C".
    All formatting menus seem disabled while Im in this dialog box. Any suggestions ?
    Thanks

    I do not think you should use superscripts. Just use the character °. In the autocorrect Symbol and text substitution table replace "oc" with "˚C".
    Sorry, should be "°C", not "˚C"
    Message was edited by: Magnus Lewan

  • How to create security for flat files under a Webserver Directory?

    Hello,
    I have an Application where I need to show a Flat Excel File (with open/save option) from a URL from Portal.
    This works fine.
    But a user can view this file without login to Portal.
    Though we restricted the directory, file access is uncontrolled.
    What should we do?
    Thanks
    Madhav

    I mean, how to enforce Login to Portal on flat files in the Web Server Directory(if the users are accessing directly from URL), they should be accessible as long as they logged into Oracle Portal. But right now, they can access by typing the URL for this flat file directly into browser.
    Thanks for your time
    Madhav

  • How to create a variant and execute a Z-program in background

    Hello,
    I have created a specific transaction to update relationships between partners (BP).
    For this i have create a screen painter, but as the run time is long i want to execute the program in background.
    How to save a variant and to execute the report in background ?
    Thanks in advance
    Christophe

    Hi,
    Please go to your z-transaction.
    Enter your selection criteria. & click on save button to save your your selection criteria as a variant.
    Now go to tcode SM36 to shedule your program with saved variant.
    Regards,
    Narendra

  • How to create a batch file for a java program?

    I have a java project in JCreator and the project is organised into packages. I have also configured JCreator to provide 2 arguments to the main method when the project is executed.
    I would want to create a batch file (.bat) for this project where the batch file can automatically use the arguments set in JCreator when the program runs.
    How do I go about creating the batch file?

    where the batch file can automatically use the arguments set in JCreatorThat all depends JCreator... can you get those arguments somehow?

  • How to create a top include for module pool program

    hi all..
      I want to add my global declarations in one top inlcude.. There are so many other includes in my pgm. But how can i create top include explicitly. Also I have one normal report pgm attached with this module pool.

    hi Cynthia ,
       there are two ways of creating a top include at your situation  ,
    1) Insert an include <Prog name >TOP  in your mpool program and cut n paste your declarations there .. check if this works ...
    2)else .. create another m pool program in SE80 , while creating a pop up will ask for with TOP include ... check mark that and then proceed ..
       anything of these two will work ...
    Reward if helpful !!
    Regards,
    Ranjita

  • How to Create Linux-Cron Job  from a Java Program

    Hello,
    Can anybody help me to CREATE/EDIT/DELETE Linux Cron job from Java Program. Its Very Urgent.Thanks in advance..
    from
    Chakri

    I decided this didn't sound too tough so I played around with it a little. Basically because I'd never tried executing external processes out of java before, so I wanted to see how it was done.
    Just change whatever you like in the jobs ArrayList and call writeJobs.
    If you call writeJobs without putting anything in the list first you'll wipe out all of your crontab entries.
    import java.lang.*;
    import java.io.*;
    import java.util.*;
    public class cron {
        ArrayList jobs;
        Runtime rt;
        cron() {
         rt = Runtime.getRuntime();
         jobs = new ArrayList();
        void readCron() {
         String[] list = { "crontab", "-l" };
         jobs = new ArrayList();
         try {
             // Stick a job into crontab
             Process child = rt.exec(list);
             BufferedReader cronout = new BufferedReader(new InputStreamReader(child.getInputStream()));
             String cronjob = cronout.readLine();
             while (cronjob != null) {
              jobs.add(cronjob);
              cronjob = cronout.readLine();
             child.waitFor();
         catch(IOException e) {
             System.err.println("IOException starting process!");
         catch(InterruptedException e) {
             System.err.println("Interrupted waiting for process!");
        void listJobs() {
         Iterator iter = jobs.iterator();
         while (iter.hasNext()) {
             System.out.println((String)iter.next());
        void writeJobs() {
         String[] edit = { "crontab"};
         try {
             // Stick a job into crontab
             Process child = rt.exec(edit);
             PrintWriter cronIn = new PrintWriter(child.getOutputStream());
             Iterator iter = jobs.iterator();
             while (iter.hasNext()) {
              cronIn.println((String)iter.next());
             cronIn.close();
             child.waitFor();
         catch(IOException e) {
             System.err.println("IOException starting process!");
         catch(InterruptedException e) {
             System.err.println("Interrupted waiting for process!");
        void doStuff() {
         readCron();
         listJobs();
         jobs.add("* * * * 4 cronjob");
         writeJobs();
         readCron();
         listJobs();
        public static void main(String[] args) {
         cron c = new cron();
         c.doStuff();
    }

  • How to create 2 transaction codes for same report program with diff title

    Hi All -
      I have created report program and create 2 transaction codes with different short description. I want to display the Tcodes decriptions instead of program attributes title.
    Can anyone pls tell me how to do this?
    Thanks,
    Kannan

    Hi Kannan,
    define 2 titlebars t1 and t2 for the report. In report initialization,
    IF sy-tcode = 't1'
      SET TITLE t1.
    ELSE.
      SET TITLE t2.
    ENDIF.
    Regards,
    Clemens

Maybe you are looking for

  • No share option on final cut pro x

    Hey everyone, very desperate here: I have NO SHARE option on the top left side of my screen while using Final cut pro x!!! I've watched tutorials on "how to export from FCPX" but I can't even click that field because I DON'T HAVE IT... I found a shar

  • Mobile hotspot on BB9360

    Hello, On the user guide of  curve 9360 you say, on page 274 "On the Home screen, click the connections area at the top of the screen or click the Manage Connections icon.• To turn on Mobile Hotspot mode, select the Mobile Hotspot check box." But ,on

  • Help - need advice on how to do this

    I have a form where a part number, qty received, and serial number are entered, and I generate a request number. (other information is entered as well, such as name, address, etc.) So it is one record per request number, easily done and no problems.

  • No signal in Taunton Somerset TA2. Can't select EE on Network Selections.

    There is absolutely no EE signal on my Note 2 in Taunton TA2 today. I've tried searching for the network operator but not offered EE. Is this a service issue?

  • How do I switch off Time Machine in Lion Server remotely?

    So here's what I want to do: I have a mac mini with OSX Lion Server running providing wireless backups for the laptops in the house. I want to rsync these backups, as sparsebundle images, to a machine at my work. I have the rsync working over ssh cor