How can I put my program behind a firewall or make it more secure?

I have a client server program and I was reading through my notes. I had jotted down a recommendation to put it behind a firewall. However, I do not know how to do this in Java at all or even where to begin. How do I even create a firewall in Java?
I'm also not sure if this is the security I need.
This program is already running inside a network limited only to certain users. However, this particular program is limited only to two users. Also, the client runs on Unix and Windows machines accesible by many users in our project. I would not know how to create a firewall for just this program and just these two users.
Right now my program is sorta like the basic client/server program examples given in the Java tutorials. It verifies the IP address of the client but like I said before anyone can be logged into that IP but only two users should be allowed to run the commands.
Would a firewall even work in this case?

However, I do not know
how to do this in Java at all or even where to begin.
How do I even create a firewall in Java? You don't.
I'm also not sure if this is the security I need.I don't think so.
I would not know how to create a firewall for just this
program and just these two users.A firewall is not for restricting access to particular users of a network. It's for keeping unauthorized people out of the network entirely. What you should do is secure the server (how to do this depends on probably many factors), and use a username and password in the client app to control access. The client contacts the server, passing the credentials, and the server either grants or denies access. It's possible you would want to hash and salt the password, depending on how secure it needs to be.

Similar Messages

  • How can I put a face on another body and make it look real? Can I do this with photoshop elements 13.

    How can I put another face on another body that I find on the web? Can I do this with photoshop elements 13? And If so can I make it look real?

    See this link:
    Google

  • How can we put the report which is generated by the program into spool??

    How can we put the report which is generated by the program into spool??
    I had generated a file in Unix which had the report but now the requirement has changed.
    Regards,
    Shashank.

    Hi Shashank,
    If the program is executed in the background and it has the write statement then the spool will automatically generated.
    Reward points if useful.
    Regards,
    Atish

  • How can I put the report generated by a program into a File?

    Hi all,
       How can I put the report generated by a program into a File?It can be in TXT format or excel format which ever is possible.
    I need to export this file to memory,How can I do that??
    Regards,
    Shashank.

    Hello Shashank,
    Please ignore my previous answer... Ofcourse it works...
    There are several ways to do this...
    two of them are
    1. List -> Save -> File and press enter..
        it will ask for the format, then path where to save it. Just give the path.
    2. Using function module 'GUI_DOWNLOAD'.
    I'm giving the example bellow which explains the usage of both GUI_UPLOAD and GUI_DOWNLOAD.
    To do this... you need to have folder with name 'TEST' and a .txt file in it with name 'test'. And contents of it are :
    TEST1             ,BOT 
    TEST2             ,BOT 
    TEST3             ,BUT 
    with spaces.
    REPORT zssr_bdc .
    DATA: BEGIN OF g_t_itab OCCURS 0,
            matnr LIKE mara-matnr,
            maktx LIKE makt-maktx,
          END OF g_t_itab.
    DATA: g_t_bdcdata TYPE TABLE OF bdcdata.
    DATA: path TYPE string,
          path1 type string.
    path = 'C:\Documents and Settings\ssr3kor\Desktop\TEST\test.txt'.
    path1 = 'C:\Documents and Settings\ssr3kor\Desktop\TEST\test1.txt'.
    *contents of test.txt    *
    *TEST1             ,BOT  *
    *TEST2             ,BOT  *
    *TEST3             ,BUT  *
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename = path
      TABLES
        data_tab                      = g_t_itab.
    LOOP AT g_t_itab.
      WRITE:/1(18) g_t_itab-matnr, 20(40) g_t_itab-maktx.
    ENDLOOP.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
       filename = path1
       filetype                      = 'ASC'
      TABLES
        data_tab                      = g_t_itab.
    Now you will get one .txt file with name 'TEST1.TXT' in the TEST folder.
    <b>REWARD POINTS IF IT IS HELPFUL</b>
    Regards
    Sasidhar Reddy Matli

  • How can I stop the program from going through all of the text previously put in.  It is making the process very slow.

    How can I stop the program from going through all of the text previously put in.  It is making the process very slow. 

    while True:
    and just indent everything else under it
    Ends when you press ^C.
    if you wish to have a way to break out of the loop, say, when you press enter at the VPC number without entering anything, add the following after your vpc input:
    if not vpc:
    break
    which will break out of the while loop and end your program.
    Last edited by buttons (2007-12-14 22:03:06)

  • How can I put a facebook logo in my signature block without it appearing as an attachment to the receiver of the email?

    How can I put a facebook logo in my signature block using the mail program without it appearing as an attachment to the receiver of the email?

    Not sure what OS you're on, but...
    Might see if this helps...
    http://allforces.com/2006/04/14/css-signatures/

  • How can i run a program outside of Forte? (Forte and java/class files)

    im making a program with forte... and i have a bunch of class files, i form file and a java file... how can i put these in one file so poeple without forte can run it...
    thanks

    jmburns wrote:
    I am trying to do a silent install of a program I built using LabVIEW 8.5.  I also need to call an exe after the installation, so I am using the "run executable after installation" option on the Advanced tab of the installer.  I then pass the following command lines to the setup.exe:
    /qb /acceptlicenses yes /r
    This installs the LabVIEW program successfully, but does not then run the additional exe afterward.  If I run the setup.exe normally (with no command line parameters), the additional exe gets run.
    Thanks,
    Jason
    This problem is fixed in a future release of LabVIEW. Here's the CAR ID 67549 for tracking purposes.
    Message Edited by Bob P on 07-10-2008 09:10 AM

  • How can I put a parenthesis around the number?

    Hi expert people!!!
    One question:  How can I put a parenthesis around the number because I have this
    write:   /123 t_bsid-pago1, 141 t_bsid-pago2,
              157 t_bsid-pago3, 175 t_bsid-pago4,
              193 t_bsid-pago5.
    and if I put the parenthesis hardcoded like this:
    write:   /123 '(', t_bsid-pago1,')'.
    when the variable are printed the parenthesis is write very separated from the amount.
    I know that maybe I can use the CONDENSE or CONCATENATE statement but for that I need to create a variable type N, or STRING and if I do that I don't know how can I put the decimals points back.
    Thanks!!

    Hi Carlos,
    Try this:
    REPORT  ZTESTRAJ.
    data: v_val(10) type p decimals 2 value '123456.75',
          v_text type string.
    start-of-selection.
      write:/ v_val.
      v_text = v_val.
      concatenate '(' v_text ')' into v_text.
      condense v_text no-gaps.
      write:/ v_text.
    <b>Output:</b>
    test program...      
    123,456.75 
    <b>(123456.75)</b>          
    Regards,
    Raj
    Message was edited by: Rajasekhar Dinavahi

  • How can I put asterisk in the beginning and end of a search parameter..?

    Hi!
         I'm developing a program for a user where he wants a search parameter for the description about some purchase orders....
    The problem is if the user want to make a search for any word he need to put asterisk in the beginning and end of the word because if the user don't put the asterisk the search will not find anything because the program don't know if the word is in the beginning of the description or in the end or in the middle...
    How can I put one asterisk in the beginning and end of the search topic entered by the user internally in the program..? I was thinking using the concatenate function but for this will not work because the program think that the asterisk is part of the word and not..
    The search parameter of the Description is in range.. (Select-Options).
    Thanks for your help!!

    Thanks keshav!
    OK... and if I concatenate the asterisk latter I can make this search?
    In the code desc_search is the select_option that I tell u. I use the DESCRIBE to see first if it is not initial... if desc_search have an entry then access the DELETE to remove all the records that are diferent from desc_search.. This desc_search will have the word with the asterisk... and the question is if it works if I use the concatenate before this... anyway I will try but I think that if I use the concatenate the program confuse and take the asterisk as part of the word..
    DESCRIBE TABLE desc_search LINES desc_count.
      IF desc_count IS NOT INITIAL.
        DELETE core_table WHERE desc NOT IN desc_search.
      ENDIF.
    Let u know if works!!
    Thanks!

  • How can I put video into my ipod

    Please tell me how can I put the videos in my ipod by using itunes? I try to put the DVD but it didnt appeare in my itunes. I cant add the video to my library

    Would you happen to know what format the Music Video is that you are trying to import? iTunes can only support a few kinds: MPEG, MPEG-4, and MOV.
    Make sure you are converting the file to an iTunes compatible format.
    If it is a WMV or AVI, it will probably not work. In this case, find a third-party program to convert these files for you. Search Google for free options.

  • How Can I Put iTunes On My External Hard Drive?

    How Can I Put iTunes On My External Hard Drive? I would like to free up space on my laptop's hard drive by moving iTune onto my external hd. Thanks, Dave

    Click here and follow the instructions to move the library. The iTunes program itself cannot be moved.
    (39940)

  • I know this has been asked before but how can i put dvds on my ipod

    how can i put dvds on my computer and or save them to it any help apreciated
      Windows XP  

    To use Videora iPod Convertor to convert movies for use on your iPod, consult these helpful links:
    To get started: http://www.videora.com/en-us/Converter/iPod/
    If you have questions: http://www.videora.com/en-us/Converter/guides.html
    If you have more questions, post them here: http://www.pspvideo9.com/forums/index.php?c=8
    Note that Videora iPod Convertor is a 3rd party program. If you need help with it, post your question there.
    GFF

  • How can i put apps from one ipod to a new ipod?

    how can i put apps from one ipod to a new ipod?

    iOS: Transferring information from your current iPhone, iPad, or iPod touch to a new device

  • How can I put my icloud photos to camera roll or photo stream?

    I got a nee iphone, i backed up everything and restored it into mu new iphone, but the pictures didn't restore so i did it manually but now on my phone i got different albums icloud photo stream and camera roll. How can i put the icloud picture into camera roll or photo stream. Any ideas?? On my old iphone ive deleted everything.

    Hello Ozzie94,
    Thanks for the additional information. The camera roll is designed for photos taken on your device, or saved images from Mail and other applications. Photos synced from a computer are organized into their own album(s):
    View photos and videos - iPhone
    http://help.apple.com/iphone/7/#/iph3d267610
    - Camera Roll—photos and videos you took on iPhone, or saved from an email, text message, webpage, or screenshot
    - Shared photos and videos—Photos and videos that you’ve shared with iCloud Photo Sharing or that others have shared with you (see iCloud Photo Sharing)
    - Photos and videos synced from your computer (see Sync with iTunes)
    Additionally, you may find more information by using another one of Apple's support resources - https://getsupport.apple.com
    Thanks,
    Matt M.

  • How can I put my podcasts in one place and my music in another?

    How can I put my playlists on my NAS media server (Buffalo Linkstation mini) so I can access them through Home Sharing and Sonos?  FYI, right now I run my iTunes with media location on my laptop's c: drive so I can manage podcasts while on the go and map a lettered network drive to the media server device when I connect up at home.

    Duplicated: https://support.mozilla.com/en-US/questions/886179

Maybe you are looking for

  • Uhhh... My iMac has no Video Card?

    So I bought a 20' inch 2.4 Ghz iMac with 2 GB of memory because I knew I'd be playing games... But I downloaded Aspyr's Game Agent and all games came up as unplayable because I had no video card........... Are you kidding me........?

  • In events that have a movie, my photos have disappeared?

    In my iPhoto, the Events that had video saved, the photos have disappeared for some reason. If there wasn't a video in an Event then the photos are still there! Help please!

  • List Format Different When Run In Background...

    Hi Guys, When I run a report in the Foreground my List displays normally.  It is worth knowing that this list has 36 Columns (36 added to the Field Catalog). But, when I run it in the background (F9), it seems to "wrap"/"split" the columns...  The la

  • Requisition Import Problem

    Hi all, I have one small Doubut,Once I ran 'Requisition Import' Requisition is Created In requisition base Tables i.ePO_REQUISITION_HEADERS_ALL AND LINES_ALL IN THIS TABLES CREATION_DATE IS INSERTED BASED ON THE CREATION SYSTEM TIME OK,AND ALSO IN AN

  • Image arbitrary rotation

    I don't know if it's just me but whenever I use the image rotate and rotate an image using an arbitrary angle, it seems to always increase the size of the canvas and the size seems to almost exponentially increase. Is there any way to avoid this or i