Beginner Question - How to hide the parameters of a created process on a remote machine.

OK so I am useng the following Powershell command invoke-WmiMethod -class Win32_process -name Create -Argumentlist ($some_command_with_parameters) -Authentication 6 -ComputerName $Your_Computer -Credential $cred
The question comes when I pass the command with parameters in the command is encrypted until it gets to the destination but then it appears to be very easy to view the command parameters by using a PROCESS Get command while that command is being run. 
Is there a way to hide the parameters on the remote system to prevent someone from viewing those at the time I run my script.  The problem is that I would like to pass a username and password as a parameter but would like to make sure it is fairly secure.

Yeah I was trying to execute a cmd.exe /c ...  This works great except the for mentioned issue.  Essentially what I was trying is to create a backward mapped drive.  In order to transfer a log that is created from the command I am running,
back to my machine.  I know the process I am doing could potentially be done different but in the enviroment I am in it is very restricted so I am basically working with what I have here.  Is there any way to at least make sure that no one other
than the person who created the process can see its arguments?  Interactive prompts or using files won't work as I am doing this remotely and essentially issuing one long command that will do everything I want. A file might work but I don't have a secure
way to transfer a file as this has to be a process I can do on multiple servers and many of them do not have anything setup for doing that.  The other issue is the credentials would still be unsecure on the server as long as the file was there. 
I think my best bet would be if possible to restrict others from viewing a process and arguments that I create.  Any ideas?

Similar Messages

  • How to hide the parameters in the url

    Hi,
    Can anyone help me to hide the parameters being passed in the url. For example, when a link is clicked i want to pass few parameters to it, but i dont want to display those parameters in the url. Can anyone help me figure out how can i achieve this?
    Thanks
    ri

    In your CO's processFormRequest, do pageContext.putTransactionValue(name, value). You can retrieve the value using pageContext.getTransactionValue(name). Please use your own judgement to use Transaction or Session as the place holder as per your requirement. In most cases, transaction would do but if you want the values to be retained across transactions, use Session. Also, make sure to clear those values when you are done with the values so that this does not get retained across session/transaction.
    Incase, you want the values only for the next submit and not for the transaction, you can use pageContext.putParamater() and pageContext.getParameter() which has a very short life cycle.
    Regards,
    Guru.

  • How to hide the Parameters?

    Hi all,
             I Have two parameters in a report. I need to hide one paramerter when another one is selected and vice versa. Kindly give me the solution. Thanks for your support in advance.
    Thanks  & Regards,
    Shiva

    Jason,
              Thank you for your valuable Suggestion. Using formula I am prompting the Web elements message box If they selected both Parameters. But, I want to clear the PArameter values before prompt the message. Please have a look on below coding part and give me the solution how to clear the Parameter values. thnak You.
    WhileReadingRecords;
    if HasValue({?JG}) and HasValue({?P}) then
         {?JG} = "";
         {?p} = "";
         test ("Select Job Group or Position")
    Thanks & Regards
    Shiva
    Edited by: Sivaramakrishnan.it on Jun 2, 2010 8:01 AM

  • How to get the pid for a created process

    hi all,
    i want to get the pid for a newly created process using java. but somebody told to check it in jni. but i didnt get exact solution till now. is anyone there known about this means pls send the code.
    advance thanks
    hidash.....
    i have a personnel mail id u can send ur code to this id
    mailto:[email protected]
    Edited by: Hidash_Kumar on Jan 4, 2008 12:51 AM

    Please run the Process flow and in Execution double click on Job id
    You will see all parameters values in job

  • How to hide the parameters passed into servlet or make it read only

    Hi,
    I am calling a servlet to downlaod files, using
    <a href="../servlet/DownloadFile?directory=<%=attachmentPath%>&fileName=<%=fileName%>">But this will display all the paramters passed , of course as I am using hyper link. However I can not use
    <form> to call the servlet because otherwise I got nested form anyway.
    So the users would be able to change the directory and file names to download files I do not like them to download. Somebody would suggest hardcode the directory and filename, but these two parameters are dynamic, so I have to pass them into the servlet everytime I call it.
    Any advice to disable the users to change or even view the two parameters on the address bar?
    Thanks
    </a>

    Here some code snippets to give you an idea of what I do.
    Let's say you want to retrieve a file from your server, and you need to pass the full directory path info in your URL. You might have code as follows:
    String fileName = "/server/SomeUltraSecretHiddenDirectory/ImportantSecretFile.doc";
    Click <a href="/fileservlet?fileName=<%=URLEncoder.encode(fileName)%>">HERE</a> to download file.Using the above code, ANYONE can retrieve this file if they know the URL. Also, they could try to change the URL paths to find other files. In other words, it's NOT SECURE.
    Now, try it this way (all exception handling is left out):
    private static final byte[] salt = { (byte)0xd4, (byte)0xa3, (byte)0xff, (byte)0x9e,
    (byte)0x12, (byte)0xc7, (byte)0xd0, (byte)0x84 };     
    String fileName = "/server/SomeUltraSecretHiddenDirectory/ImportantSecretFile.doc";
    base64Encoder = new BASE64Encoder();
    base64Decoder = new BASE64Decoder();
    // get key object
    SecretKey key = null;               
    PBEKeySpec keySpec = new PBEKeySpec("somesecretkeystring");
    SecretKeyFactory kf = SecretKeyFactory.getInstance("PBEWithMD5AndDES");
    key = kf.generateSecret(keySpec);     
    // get parameter spec
    PBEParameterSpec paramSpec = new PBEParameterSpec(salt, 1000);
    // create cipher
    Cipher c = Cipher.getInstance("PBEWithMD5AndDES");
    c.init(Cipher.ENCRYPT_MODE, key, paramSpec);     
    // take string and get encrypt it (base-64 encode it to get rid of non-printable characters
    byte[] aResult = c.doFinal(fileName.getBytes("UTF-8"));
    String strResult = base64Encoder.encodeBuffer(aResult);
    // print the link
    Click <a href="/fileservlet?fileName=<%=URLEncoder.encode(strResult)%>">HERE</a> to download file.
    // on the server side, do the following to decrypt the link
    String encryptedFileName = request.getParameter("fileName");
    // create decryption cipher (i'm skipping a lot of the init code this time - see above for code example)
    Cipher c = Cipher.getInstance("PBEWithMD5AndDES");
    c.init(Cipher.DECRYPT_MODE, key, paramSpec);
    // decrypt string
    byte[] aResult = c.doFinal(base64Decoder.decodeBuffer(encryptedFileName));
    String strResult = new String(aResult, "UTF-8");Now you have the decrypted String. Your link will be unreadable and unbreakable. 100% safe as long as your key password is safe. I hope that gives you an idea of what you can do with cryptography!
    A few notes:
    - Most of the above code is in separate methods that can be easily reused (especially encrypt() and decrypt())
    - All exception handling has been left out
    - The above code was patched together from memory, so don't expect it to work as is (that's my disclaimer :)
    - You'll need the JCE libraries to use this functionality.
    - For REALLY sensitive data (such as passwords), make sure you use one-way encryption (hashes) if you don't ever need to decrypt it again.
    Michael

  • First time Final Cut beginner question- how to get the timeline back?

    The first time I opened Final Cut on my own, I accidentally closed the timeline box. How do I get it back?
    ~Krista

    Hmm...that's strange. Try this: From the FCE menu bar, select Window>Arrange>Standard
    If that doesn't do the trick, your FCE Preferences may have gotten corrupted. Trash them exactly as described here:
    http://fcpbook.com/Misc1.html

  • How to hide dynamic parameters values in the URL with Reports 6i

    Hi,
    I want to know a way of hiding the parameters values when asking for a report through the web.
    Now I'm using the Reports 3.0.5.8 with a Cartridge defined in the Oracle Web Application Server 3.0.1.0.1. When you ask for a report with the parameters DESTYPE = cache and DESFORMAT = pdf, it is fully generated and in the Address or Location box of the browser, you can see http://webserver/cache/report.pdf (where cache is the virtual directory defined in the OWAS in which the .pdfs are cached). So, users cant see the Url used to generate the report.
    Im trying to upgrade this configuration to Reports 6i with Cgi in a web server. I generate reports with no problems. The problem I have is I cant find how to hide the parameters values as before. I mean, when I ask for a report, once its generated I can see http://webserver/cgi-bin/rwcgi60.exe?server=ServerName&report=report.rdf&userid=user/pass@connection&destype=cache&desformat=pdf&P1=value1&P2=value2 in the Location box. It allows user to ask for another report changing the values of the parameters. I use these parameters to execute some query written in the Data Model. For example, imagine that the P1 represents the company id, the user (that is supposed to see only data of its company) can change this id, ask for a new report and see data of another company.
    Ive already tried to use the key mapping option, but its not useful to me because the parameters values are dynamic and its impossible to define different entries in the cgicmd.dat for each possible value. The option of loading the parameter form before running a report is not useful to me either, because there exists specific screens for this purpose.
    Is there any solution?
    Thank you.
    Marma Bonfiglio.

    Hi Rakesh,
      I am using BI  7.0
    The last option I have is 'Hide' for 'Calculate single values as' .
    I have the below options  for 'Calculate single values as'
    1. Normalise  according to Next group  level  Resul.
    2. Normalize according to  Overall Result
    3. Rank number
    4.Olympic Rank Number
    5.Maximum
    6. Minimum
    7.Counter for all detailed values
    8.Counter for all detailed values that are non zero
    9.Moving average
    10.Moving average  That is  Not zero ,null or Error
    11. Hide.
    So could you please tell me where i can find 'suppress result' option for the keyfigure .
    Many thanks

  • How-to hide the portal file shares on Windows

    Hi,
    Does anybody know how to hide the default file shares created by SAP NW 04 in windows?
    In other words: what I'm trying to accomplish is renaming the sapmnt share and saploc share (both on the E:\usr\sap\ folder) to sapmnt$ and saploc$.
    I know how to do the Windows part, but where and how do I configure the SAP Web AS part?
    Regards,
    Steven Dijkman

    Hi guys,
    Thanks for all the feedback.  However, this still does not fully work.
    I tried hiding the folder but it in fact only hides the folder, not the share itself. I'm trying to do the opposite, hiding the share (making it an administrative one) whilst not hiding the folder. With the folder hidden, the startup framework (NW 04 EP6 SP12) does not work.
    By the way: checking / tightening access is not an option: security architects dictate what needs to happen here and unless I have VERY good reasons I should comply to what they say: change saploc to saploc$ and change sapmnt to sapmnt$.
    If anybody has anymore thoughts, I'd be very interested.
    Cheers,
    Steven Dijkman

  • Question on how to Hide the User Name, Password, and Domain fields in the MDT Wizard

    MDT 2012 U1
    Deploying Windows 7 via Offline Media (ISO) to MS Virtual PC's
    I am looking on how to Hide the User Name, Password, and Domain fields which are prepopulated in the MDT wizard via the CS.ini (Not so concerned about the Domain field as I am User Name and Password)
    We do need the Computer Name and OU fields to be seen, so skipping the wizard is not a option
    The client just does not want these fields to be seen by the end users, they dont want them to even know the account name used for adding the machine to the domain, of course the password is not displayed but it must not be displayed either.
    But since we use the fields they must still  be fuctional just not seen.
    Thanks.....
    If this post is helpful please click "Mark for answer", thanks! Kind regards

    You shouldn't have to edit DeployWiz_Definition_ENU.xml. You should only need to add "SkipAdminPassword=YES" to the CS.ini file and your authentication information.
    Example:
    [Settings]
    Priority=Default
    Properties=MyCustomProperty
    [Default]
    OSInstall=Y
    SkipCapture=NO
    SkipAdminPassword=YES
    UserID=<MyUserID>
    UserPassword=<MyPassword>
    UserDomain=<MyDomain.com>
    SkipProductKey=NO
    SkipComputerBackup=YES
    SkipBitLocker=NO
    -Nick O.
    Nick,
    SkipAdminPassword=YES is for:
    You can skip the Administrator Password wizard page by using this property in the
    customsettings.ini.
    I am hidding the Username/Password/and domain field in the computer name Wizard pane which is read from the cs.iniDomainAdmin=xxxxx
    DomainAdminPassword=xxxxx
    DomainAdminDomain=xxxxxx
    JoinDomain=xxxxxx
    If this post is helpful please click "Mark for answer", thanks! Kind regards

  • How can hide the command line of a t.code in the portal

    Dear Experts.
    I have the following doubt:
    How can hide the Command Line of a Report that is called with a T.Code in the portal?
    Attach Image:
    [Image T.Code|http://www.freeimagehosting.net/uploads/eab3b6a03c.jpg]
    When I created a service using the T.Code SICF for the T.Code , I can hide buttons and the filed command line  using
    ~webgui_simple_toolbar
    ~singletransaction
    ~NOHEADEROKCODE
    With notes 1010519, "SAP GUI for HTML: Simplified Title Area Without Menu and OK Code" and 959417.
    But the problem is that when I create the service in the T.Code SICF, I also have that create an Iview IAC in the portal.
    The Question is : How can hide this fields and buttons if I want Publish the T.code using an Iview Transaction in the portal?
    In this moment I have used the two options:
    1 option) I created a service using the t.Code SICF for my Transaction and I also created an Iview IAC in the portal for call the service.
    RESULT:
    SAP Web Application Server
             500 Connection timed out
            Error: -5
           Version: 7000
           Component: ICM
           Date/Time: Sat Jun 12 20:26:39 2010 
           Module: icxxthr_mt.c
           Line: 2698
           Server: xyxab...
    Error Tag: {-}
    Detail: Connection to partner timed out after 60s
    2)  created an Iview Transaction  in the portal and  call my transaction.
    RESULT.
    [Image T.Code|http://www.freeimagehosting.net/uploads/eab3b6a03c.jpg]
    But not can hide the field Command Line and other buttons.
    I think that the command :
    ~webgui_simple_toolbar
    ~singletransaction
    ~NOHEADEROKCODE
    Only can be used if I create a service using the T.Code SICF .
    Best Regards
    Carmen.

    Hi Carmen,
    The bottom line is that this cannot be done for transaction iviews without modifying the standard webgui service in SICF, which is probably not a good idea (since it affects everyone using SAP GUI for HTML). (You could hack the appintegrator to add the ~webgui_simple_toolbar parameter to the transaction URL template in the portal, but again its not a recommended thing to do ...). Better to create an IAC service in SICF with ~webgui=1 where you set the required appearance using an appropriate value for ~webgui_simple_toolbar, and then create an IAC iview to point at this service.
    You can even override the ~transaction value configured in the new service in individual IAC iviews by entering the appropriate value in the application parameter of the iview, for example:
    ~okcode=/nSU01
    And you can pass parameters in the same way:
    ~okcode=/nSU01 USR02-BNAME=xyz;USREFUS-USERALIAS=abc;
    By the way, it would not be recommended to create a URL iview to access an IAC, since you are likely to encounter session management issues in this scenario - better to use an IAC iview.
    Regards, Rory

  • In labview,how to calculate the parameters of the bilinear model that simulates the generation electroencephalogram?

    Dear Sir or madam:
    I have collected a lot of electroencephalogram data, which looks like a continuous sine wave plus a noise signal. what i want to do now is to fit the data with the bilinear model as the attached jpg file. the problem is the parameters of the model are changing with the evolution of the signal. would someone like to tell me how to calculate the parameters in the bilinear model?
    thank you very much
    Attachments:
    Bilinear_Model.jpg ‏33 KB

    I can point you in the right direction, but probably not answer your question really well. If you have the pro or full distribution of LabVIEW, you can use the curve fitting VIs to match any set of data to a theoretical curve. The curve fitting Express VI may do all you need to do (use the nonlinear option). To get the signal evolution, break your data into pieces and process each. If you need to average a bit, you can use a sliding window of your data for each analysis, moving the window less than the window width for each analysis.
    There are a plethora of curve fitting techniques built into LabVIEW - matrix operations, linear and log linear fits, Levenberg-Marquardt methods, downhill simplex, etc. You will probably need to experiment a bit to get a stable
    algorithm for your case. Check your literature for ways other people have done this. There may be an easy, stable method out there.
    If you are unfamiliar with curve fitting techniques, or you do not have the pro or full versions of LabVIEW, I would recommend "Numercial Recipes in C" by Press et. al., published by Cambridge University Press. The chapter on Modeling of Data will get you going. The rest of the book will provide any background you need.
    This was a very general answer. If you need something more specific, let me know. Be aware that this type of problem usually requires some trial and error to get right. The answers should be tightly scrutinized before being believed.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • How to Hide the Parameter field at run time....

    Hi,
    I have a parameter field which behaves differently depending on the User logged in.
    It has the LOV coming from following SQL.
    SELECT customer_name FROM Cust_mast;
    If the user = 'INTERNAL' then the Where clause will be
    WHERE cust_id in('DELL', 'SBC', 'BANK')
    Else there will be no WHERE clause or the parameter field
    should be hidden in the parameter form.
    So my questions are:
    1) How to hide the Parameter field during Run time?
    OR OR OR
    2) How to change the LOV select statement during Run time?
    Thanks.
    Ram.

    Hi Ram,
    Is there any way to play with the sql query SELECT using DECODE ?I'm not sure of this part, maybe someone else can suggest a way.
    However, what you want can be done in 2 other ways:
    1. Build 2 reports. Both reports will just be duplicates of each other, only difference being that the 'LoV where clause' will be different. Now you can fire the appropriate report in many ways. For example, if the customer is alreay logged inside your custom application, and therefore you already know whether the user is internal of external, you can design your button or link which launches the report to contain logic such that one of the 2 reports is fired depending on who the user is.
    1. Use a JSP parameter form, not a paper parameter form In this case, just build an HTML parameter form in the web source of your report. Use Java logic to populate the LoV drop-down list. When you have to launch the final report, just launch the paper-layout of the report. For example (you will have to modify this):
    <form action="http://machine:port/reports/rwservlet?report=ParamForm.jsp+..." name="First" method="post">
    <select name="selected_customer" onChange="First.submit()" >
    <option value="">Choose a Customer Name
    <rw:foreach id="G_cust_id" src="G_cust_id">
         <rw:getValue id="myCustId" src="CUSTOMER_ID"/>
    <rw:getValue id="myCustName" src="CUSTOMER_NAME"/>
    <option value="<%=myCustId%>"><%=myCustName%>
    </rw:foreach>
    </select>
    </form>
    In the code above, you will have to make sure that your report's data model defines 2 CUSTOMER_ID's (like CUSTOMER_ID_INT and CUSTOMER_ID_EXT). These 2 will be internal and external Cust ID's. Use Java logic to show one of them.
    Navneet.

  • How to hide the Columns and Views for Login user in SharePoint 2013

    Hi Friends,
    How to hide the Columns and Views for Login user in SharePoint 2013? Is it possible using OOB features? If not possible how can we hide the Columns and Views for Login user?
    Could you please help on this.
    Thanks,
    Tiru
    Tiru

    Hello Tirupal,
    There is no OOB way to do this.
    Please check this codeplex solution to achieve the same.
    https://sp2013columnpermission.codeplex.com/
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • How to change the parameters(rot x,y,z &dictance) to get Kinect Fusion Explore Multi Static Cameras sample work?

    Recently,I start to pay attention to  the  function 'Kinect Fusion Explore Multi Static Cameras sample' In SDK 1.8.
    Here ,I use two kinects ,but I have no idea how to change the parameters(x,y,z &dictance) in the red rectangle to make it work successfully.
    By the way,I hava calibrated the two kinects' camera and get the related perameters.

    sorry,I can't add the image to my question...~~~~(>_<)~~~~

  • How to hide the pricing conditions specified in pricing procedure of sd.

    dear friends,
    my situation is to hide the conditions specified in the pricing procedure. so that it is not viewed by the some users.can you please tell me how to hide the conditions. so some of the persons, who are having authorization to see the conditions , will be able to see the pricing conditions.
    can you please suggest me how to do this.
    regards,
    g.v.shivakkumar

    Authorisation  issues viz. Role Impementations
    Hide Condition Records Line Item & Header Wise from all the transactions QK / So /  P.I. / Enquiry / Invoice etc. for specific user grps. - in CRETATE / AMEND / DISPLAY / REPORTS all
    Only Display the fields
    regards,
    g.v.shivakkumar

Maybe you are looking for

  • Hardware Configuration in MAX when not logged in as Administrator

    I am attempting to load a .cfg file for a VME device through the Hardware Configuration option on MAX.  When you are not logged in as an administrator, the option is greyed out.  I do not have the option of always running this as an administrator.  H

  • Link to a file doesn't work anymore

    I repeteadly made this experience: I link some text to a file and upload it via .mac. However, when I change the file, the link doesn't work anymore. Even if I set up the whole thing again and upload it, it doesn't work. Seems like I get one chance p

  • How to handle spaces when calling javaw.exe or java.exe

    Hi guys, I'm in the process of releasing my application. My application need to make this system call on Windows. C:\Program Files\MySoftware\javaw.exe -jar C:\Program Files\MySoftware\myJar.jar C:\Program Files\MyDocs\MyArgumentFile this 'Program Fi

  • Monitoring EWA in solution manager for EP

    Hi How to monitor and configure the EP 7.0 on solution manager 7.0 for SP 16 Can any body give the doc and steps to do. Regards

  • Is there a quick way to fit everything in the Title/Action Safe Areas ?

    Hi, (sorry in advance for my english, I'm a french canadian) I built a complete DVD without realizing that I should consider the "Safe Areas" (see my first post : "Formatting in 4:3 but image is still stretched on a 4:3 TV. What the... ?"), so now I'