CHANGE SECURITY SETTING USING JAVA

Hi all,
Please Help!!!
I am using, JAVA / STRUTS for developing an web application.
In the Client/ Server Technology, I need to set the client Browser Security Level.
Can it be done through JavaScript or how it can be achieved.
Thanks & Regards
Glass_Fish.........

I am using, JAVA / STRUTS for developing an web application.
In the Client/ Server Technology, I need to set the client Browser Security Level.Not possible.
Can it be done through JavaScript or how it can be achieved.By asking the end user to change their Security level if your application really needs them. For example there are ways to detect whether scripting language is enabled or not, whether cookies are enabled or not. If your application really needs that features, Ask user to enable the particular feature by displaying proper messages.

Similar Messages

  • Setting Multiple values in property set using java API

    Hello All,
    I want to set the properties of a profile in a property set using java API provided
    in package p13n. The property can have multiple values. When I try to add the
    property using ProfileManager.setProperty() method. But every time I do it this
    way, it replaces the earlier value of property and not added. This, I can achieve
    using portalTools but I want to use the API for user registration on the site.
    I hope the query is clear.
    Waiting for a response,
    Thanks in advance,
    Shrinivas

    You need to use java.util.ArrayList.
    First cast the existing value into ArrayList using getProperty method,
    change values in the ArrayList and then put them back with setProperty
    method.
    Regards,
    Michael Goldverg
    "Shrinivas Rao" <[email protected]> wrote in message
    news:3d64e7d9$[email protected]..
    >
    Hello All,
    I want to set the properties of a profile in a property set using java APIprovided
    in package p13n. The property can have multiple values. When I try to addthe
    property using ProfileManager.setProperty() method. But every time I do itthis
    way, it replaces the earlier value of property and not added. This, I canachieve
    using portalTools but I want to use the API for user registration on thesite.
    I hope the query is clear.
    Waiting for a response,
    Thanks in advance,
    Shrinivas

  • How to send Secured Mail using Java Mail?

    I want to send mails with "Send Secure" option using Java Mail. Now mails are being sent using Java Mail connecting to smtp host.
    Appreciating your help.
    Thanks.

    There are third party libraries to help with this. Bouncy Castle is very popular.
    See the [JavaMail Third Party Products|http://java.sun.com/products/javamail/Third_Party.html] page.

  • Change file mode using java?

    Hi
    Can I change file mode using java method other than
    Runtime.exec()
    thx
    Jacinle

    Hi
    Thank you Roopasri. But what I want is not using Runtime.exec
    I am using Unix and I want to change some image file access mode
    so not a RandomAccess File.
    So is there anything like chmod command on Unix?
    something like maybe java.io.File.chmod("755");
    I read that's a feature requested early on 1.2
    Will it be included in 1.4?
    Jacinle

  • Changing Windows Registry using Java

    hi...all,
    Any1 knows how to change windows registry using java. wheather is it possible ?? or there is any other alternative for same....

    Write a Java class which will create a temporary REG file... use regedit /s from Runtime.exec() and pass that file as argument.
    ***Annie***
    (Where the hell do these ideas come in my head!)

  • Can i change system time using java

    hi guys can i change system time using java iam doing one app in that i have to change the system time (my os is windowsXP) please tell me how to change the time

    What does this have to do with Swing?
    Well, there is no Java API that I'm aware of.
    However you can execute any Windows command by using the Runtime class. So you should be able to invoke the Time command.
    Search the Java Programming forum. There are plenty of examples on using the Runtime.exec(...) command.

  • How to change security setting to use I tunes on I Mac

    I try to buy tunes at I yunes and I get a message that says that I have to change the security setting to do that. How is that done. They said that it is finder

    Download and use EasyWMA. EasyWMA will not handle protected WMA files; no Mac application can.
    (34596)

  • Airport Express not recognized by Utility after changing security setting.

    We use an Extreme with an Express to extend the network and run speakers. While trying to eradicate Airtunes dropouts I changed the security setting on the Express using the Airport Utility. After the update, the Express is no longer being recognized. Help!!! I've unplugged it and used the reset button to no avail. I'm a techno-dummy, so please be gentle. I really do appreciate any insight.

    Hi,
    It seems you have set a too strong security on the Extreme that is not supported on the Express.
    I don't know what model of Express you have so try to use a less strong security on the Extreme.
    (you can find the security specs of your express on Apple's website : http://support.apple.com/specs/#airport )
    As you have reset the Express... you will first have to set it up again...
    P.S. : Do the connection drop problems occur on the Express and / or on the extreme ?
    As security settings "should" not be the cause for WiFi connection drop, something else is.
    Can you give more info on what you already tried ? Ex : Multicast Rate, Transmit Power, Use wide channels, Closed network, Use interference robustness
    Kind regards,

  • Change character set used to write a file in application server.

    Hello Experts,
                       I want to know if we can change the character set used to create a file in application server.(Is it posible to use a particular character set while creating a file in application server.
                      I will be very great full for any help.
    Thanks in advance.
    Sharath

    Hello Sarath,
    There is an extension CODE PAGE with OPEN DATASET stmt.
    Can you please elaborate which character set you want to write to the application server?
    BR,
    Suhas

  • Changing group permission using java in unix

    Hi,
    I have a java application which will create files in a particular
    directory in the unix server.The application is started using
    root.When the file is created the permission it has is -rw-r-r.I need
    to change this and give group also rw.Anyone knows how to do this
    after file is created.I dont wanna run "chmod" using
    Process.getRuntime().Is there any other java api to do this.Please
    help me
    Thanks,
    Sidhartha

    luttapi wrote:
    Hey thanks.Are you sure that "FilePermission" package cannot do this?I saw some api's in that which sets permission.But i couldn't find anything for group permission.No, those just handle whatever restrictions the Java platform imposes on top of the operating system restrictions. They come into play when you're running an Applet for example, which must not have all the rights that a normal user application has (i.e. it may not read or write any files at all, even if the user running the Applet was allowed to do so).

  • Unrecognised Char in GB2312 character set using java InputStreamReader??

    Reading the following file chinese GB2312 html file from
    http://news.xinhuanet.com/local/2007-02/13/content_5732705.htm
    using the InputStreamReader with GB2312 encoding as shown below
    public class readGB2312html file
    //........TmpText declarations.....
    public static void main( String[] args )
    try
    FileInputStream is = new FileInputStream( args[0] );
    BufferedReader br = new BufferedReader(
    new InputStreamReader( is, "GB2312" ) );
    String strLine;
    while ( (strLine = br.readLine()) != null )
    TmpText.append(strLine);
    TmpText.append("\r\n");
    br.close();
    bw.close();
    catch ( Exception e )
    e.printStackTrace();
    The TmpText variable does not display the last character in the article properly &#65288;&#35760;&#32773;&#22799;&#29690;&#65289; it gives instead &#65288;&#35760;&#32773;&#22799;?B&#65289;
    Inside the html file the unrecognised charcter is represented by �B in the html file Why is this so
    ���������B��
    In the internet browser it is displayed and recognised as a chinese GB2312 character why not recognised by Java InputStreamReader???
    Any help or explanation would be much appreciated

    Yes, it is not a GB2312 character
    The �B character is AC40 in hex format which is outside of the GB2312 character range, it is in GBK
    Copied from wikipedia,
    GBK is an extension of the GB2312 character set for simplified Chinese characters, used in the People's Republic of China.
    GB stands for National Standard, while K stands for Extension. GBK not only extended the old standard GB2312 with Traditional Chinese characters, but also with Chinese characters that were simplified after the establishment of GB2312 in 1981. With the arrival of GBK, certain names with characters formerly unrepresentable, like the "rong" (�g) character in former Chinese Premier Zhu Rongji's name, are now representable.
    Thanks a lot will use the GBK charset to read the file for all GB2312 file since it is a subset of it.

  • How to Change Paper Type Using Java script

    HI ,
    We have a requirement , in which we have to change the paper type i.e. "A2" , "A3","A4" etc.  while printing using a JavaScript. I have written a code like this :
    xfa.form.form1.pageSet.Page1.medium.stock = "A2"; But this is not working. please help me out.
    Thanks,
    Bhaskar.

    That's the right object for choosing the page size at Design time. What event are you doing this on? Although you can change it in the form model, the form's page size is already determined from the template by the time you have a form to script against, so although you can change it via script after the fact in XFA, I don't believe it will have any impact. Even putting it on the layout ready event does not work.

  • How to change security setting to open windows share on intranet

    In Internet Explorer I can browse to windows shares like "\\server\share\index.html"
    In Firefix I can chage a preference (security.checkloaduri) to allow that
    Is there a way in Safari?
    Thanks
    -Marc
    Message was edited by: Mgibeault

    * System Preferences
    * Java
    * Click on Security
    * The site exceptions list Edit in list of sites ...
    * Enter the name of the site URL
    * Click on the add button
    * Click OK
    * Click OK and Done! already have close your browser and try to enter again.

  • How to send secure email using JavaMail

    Hi, anyone out there know how to send secure email using Java Mail? Greately appreciated.

    For starters, if you have not already done so, read about it in the JavaMail design specifications.
    Search for Message Security in the said document.

  • Web service: Cannot remove WSS security setting

    Hi,
    i have a problem about developing web service with jdeveloper 10.1.3.1
    The problem is that ---> once i have add the security to the web service
    (through the web service wizard .. i,e, right click the web service and
    select "Secure Web Service'), i CANNOT REMOVE the security setting using
    the web service wizard...
    call the web service always say missing wsse:Security SOAP header..
    do anybody have the solution?
    thank you...

    Hi,
    the issue is still there in 10.1.3.3, and it must be somewhere on JDeveloper or OC4J side. Moreover, it's not limited to removing security settings, as the situation (old settings remembered) is the same when editing security settings.
    lsp,
    before regenerating a web service and its xml files (editing security properties), make sure you have cleaned the project and then you can try deleting the oracle-webservices.xml file from your project directory, because JDeveloper does not seem to be willing to overwrite it during regeneration.
    If this does not help and you are using embedded OC4J, you can try the following steps before running the web service again:
    - delete the embedded-oc4j/application-deployments/current-workspace-app directory, because it contains an oracle-webservices.xml file which may be outdated,
    - empty the contents of embedded-oc4j/config/wsmgmt.xml, because it contains security settings for web services you have deployed so far, which also may be outdated,
    - restart JDeveloper :)
    Note that these are just guesses to solve the problem. Unfortunately doing all of these did not solve it for me.
    So if anybody has some more ideas, we'll be happy to hear them.
    Thanks,
    Patrik

Maybe you are looking for

  • IPod Touch 5G very unresponsive, almost as if acting on it's own.

    So basically when I had updated to iOS 7 it was nice, occasional little thing, but it kept working. Now though a few of the little things have expanded since I updated to iOS 7.0.3. As of now I can not type on the keyboard without it e.i;closing itse

  • Exchange 2010: Remove high available mailbox database error

    Hello everyone, I have a two node DAG exchange 2010 and recently split one mailbox database into two databases.  Now when removing the original database I get the following error: Please provide specific details. The following was done thus far: Dele

  • Acrobat X Pro won't open, get error message from Windows user acct controls

    Using Windows 7. Installed okay and all other components of CS work. User acct Control asks permission to change C drive. Whatever I answer does not work. I have answered yes or no, give admin priviliges, reset user acct control settings, reinstalled

  • Problem with shareplay please assist or help asap please

    Me and my bro are in the same country I'm near Liverpool he's in Abingdon and he's just got a ps4. I wanted to show him the cool "shareplay" feature but we cant shareplay as we are confronted with "the host game screen can not be viewed because the g

  • Using Cue Points to advance to next scene

    I'm pretty new to AS3. I'm a designer trying to do it myself. What I'm trying to do is use a cue point at the end of my FLV (which is loaded using ui loader in my flvSWF) to go to the next scene in my mainSWF file. here's the code I'm using in my flv