NiagaraFramework Development Permission - Engineer of NiagaraFramework

Tridium, NiagaraFramework, SCADA, HMI, PLC, Automation, SmartFAM etc.. About controls.
나이아가라 프레임워크 QnA : neverlikekami@gmail.com

2023년 10월 27일 금요일

NiagaraFramework Development Permission

개요


module://docDeveloper/doc/security/requestingPermissions.html



 
Nicholas.Dodd (Tridium Europe Limited)

@Laurent1 (installProg)​ You will need to include an xml element such as this:

 

<req-permission>

<name>NETWORK_COMMUNICATION</name>

<purposeKey>This module needs to perform FTP because.........</purposeKey>

<parameters>

<!-- The hosts to/from which we can open/accept a connection, you may use * or *.something or a specific ip address, make as specific as you can-->

<parameter name="hosts" value="127.0.0.1"/>

<!-- A comma-separated list of the ports over which we can connect to the host -->

<parameter name="ports" value="21"/>

</parameters>

</req-permission>

 

See the doc developer help for further guidance on requesting module permissions, including which others are available, and all the different parameters for the NETWORK_COMMUNICATION permission:

 

module://docDeveloper/doc/security/requestingPermissions.html

 
View/Answer
  or reply to this email
 
 
   
 
Replying to
 
 
 
Niagara Developers — Laurent1 (installProg) asked a question.
Library Standart Java equivalent Library Niagara

Hi

I want to send a file by FTP in Java

I found an open-source program (https://github.com/jasonhellwig/FTP/blob/master/FTPClient/src/com/jason/ftpclient/Main.java) which uses the standard java libraries but not that of niagara.

 

Here are the libraries below:

import java.io.File;

import java.io.FileInputStream;

import java.io.FileNotFoundException;

import java.io.FileOutputStream;

import java.io.IOException;

import java.io.InputStream;

import java.io.OutputStream;

import java.io.PrintWriter;

import java.net.ConnectException;

import java.net.Inet4Address;

import java.net.InetAddress;

import java.net.Socket;

import java.net.UnknownHostException;

import java.util.Scanner;

 

Can we have the name of the library equivalents for niagara in javax.baja.xxx

 

Thank you for your help.

 
github.comgithub.com
 https://github.com/jasonhellwig/FTP/blob/master/FTPClient/src/com/jason/ftpclient/Main.java
 
 
 
 
  
 
Nicholas.Dodd (Tridium Europe Limited)

@Laurent1 (installProg)​ You will need to include an xml element such as this:

 

<req-permission>

<name>NETWORK_COMMUNICATION</name>

<purposeKey>This module needs to perform FTP because.........</purposeKey>

<parameters>

<!-- The hosts to/from which we can open/accept a connection, you may use * or *.something or a specific ip address, make as specific as you can-->

<parameter name="hosts" value="127.0.0.1"/>

<!-- A comma-separated list of the ports over which we can connect to the host -->

<parameter name="ports" value="21"/>

</parameters>

</req-permission>

 

See the doc developer help for further guidance on requesting module permissions, including which others are available, and all the different parameters for the NETWORK_COMMUNICATION permission:

 

module://docDeveloper/doc/security/requestingPermissions.html

댓글 없음:

댓글 쓰기

Post list