You are not logged in.
Hi,
if I run the server service as a local user (not administrator) is there a technical reason for which a client does not connect to the server?
I am absolutely sure that there is no firewall running on the server itself.
Does it have to have specific permissions on the filesystem or on the Windows registry?
The reason for my request is because I cannot run the server as a local administrator due to security issues.
Offline
ok this is the code:
program Project04Server;
uses
Forms,
SynCrtSock,
SysUtils,
Unit2 in 'Unit2.pas' {Form1},
SampleData in '..\01 - In Memory ORM\SampleData.pas';
{$R *.res}
var delete: boolean;
begin
delete := (ParamCount=1) and SameText(ParamStr(1),'/DELETE');
// parameters below must match class function
// TTestClientServerAccess.RegisterAddUrl in mORMotHttpServer.pas:
THttpApiServer.AddUrlAuthorize('root','888',false,'+',delete);
Application.Initialize;
Application.CreateForm(TForm1, Form1);
Application.Run;
end.
Offline
Only http.sys based server expects to be run at least once with Administrator rights.
See the doc about that.
Other servers (in-process, GDI messages, named pipes) does not need any specific rights, only R/W file access to the database.
The framework never write anything to the registry (some internal APIs like THttpApiServer may use the registry).
Offline
Additionally I found good GUI util for manage http.sys - see http://httpsysconfig.codeplex.com/.
Offline
very well, thanks
Offline