Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 82,959
» Latest member: bakso108
» Forum threads: 2,408
» Forum posts: 11,315

Full Statistics

Online Users
There are currently 292 online users.
» 0 Member(s) | 289 Guest(s)
Applebot, Bing, Google

Latest Threads
IW 16.2.0 Missing librari...
Forum: IntraWeb General Discussion
Last Post: Gregory_Twedt
06-24-2026, 04:40 AM
» Replies: 5
» Views: 697
VCL conversion
Forum: Delphi General Discussion
Last Post: tobenschain
06-20-2026, 05:00 AM
» Replies: 0
» Views: 102
TIWjQDBGrid changing UI
Forum: IntraWeb General Discussion
Last Post: BoostedCruiser
06-08-2026, 02:02 AM
» Replies: 36
» Views: 70,564
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: Fabrizio Conti
06-04-2026, 09:14 AM
» Replies: 3
» Views: 524
Access Violation When Val...
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
06-03-2026, 08:47 AM
» Replies: 2
» Views: 541
Bootstrap5
Forum: IntraWeb General Discussion
Last Post: geraldtatum
06-02-2026, 06:24 AM
» Replies: 1
» Views: 440
weakpackageunit contains ...
Forum: IntraWeb General Discussion
Last Post: rlebeau
05-26-2026, 04:56 PM
» Replies: 4
» Views: 591
Custom 404 handler
Forum: IntraWeb General Discussion
Last Post: CfawesDwale
05-21-2026, 08:02 AM
» Replies: 0
» Views: 277
PopUp Menu
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
05-13-2026, 04:35 AM
» Replies: 4
» Views: 8,242
Image question on tiwjqdb...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
05-13-2026, 03:32 AM
» Replies: 3
» Views: 4,148

 
  Changing loading
Posted by: dorishuntt - 09-23-2024, 04:57 AM - Forum: IntraWeb General Discussion - No Replies

Hello all,

This could be an old topic, but can someone highlight how are we able to change the loading.gif standard

I'm using IW14.3


Thank you...

Print this item

  TIWCalendar frame in a modal window
Posted by: JuergenS - 09-22-2024, 05:00 AM - Forum: IntraWeb General Discussion - Replies (1)

Hi,

I use a TIWCalendar component in a frame that is displayed in a modal window.
Recently only the modal window is displayed but the calendar is no longer shown.
I can't say whether it stopped working before the current Intraweb version.

An example is in the appendix.


IntraWeb Application (Indy - x86)
Edition: IntraWeb Ultimate Edition
IntraWeb Version: 15.6.5
32-bit Server on 64-bit Windows


Regards Juergen



Attached Files
.zip   Calendar2.zip (Size: 36.69 KB / Downloads: 3)
Print this item

  detect the file type of CSV/TXT file
Posted by: pgnair - 09-19-2024, 09:02 AM - Forum: IntraWeb General Discussion - Replies (2)

how to detect the file type or contented type of a csv file upload using fileuploader?

Print this item

  set custom font in pixel
Posted by: drewdavis - 09-10-2024, 05:23 AM - Forum: IntraWeb General Discussion - No Replies

How do I set a custom font in pixel? Does anyone have a link to a detailed tutorial on it?

Print this item

  XSS Vulnerability IW 15.2.23
Posted by: davidmcevoy@outlook.com - 09-05-2024, 10:50 AM - Forum: IntraWeb General Discussion - Replies (2)

Hello.  

I have recently had a security scan done on a site I am working on and it is reported that JavaScript can be injected into the page (XSS) as shown below.  I am using IW 15.2.23 at the moment and wonder if there is something I can do to prevent it.

URLhttps://dummydomain.com/

Method: POST

Parameter: IW_SessionID_

Attack: '"<scrIpt>alert(1);</scRipt>

Evidence: '"<scrIpt>alert(1);</scRipt>



URL: https://dummydomain.com/$/callback?callback=IWEDIT1.DoOnAsyncChange

Method: POST

Parameter: IW_SessionID_

Attack: '"<scrIpt>alert(1);</scRipt>
Evidence: '"<scrIpt>alert(1);</scRipt>


Not entirely sure how to test for this on the local SA application so that I can check it has been fixed.

Any advise would be appreciated. XSS is not something I have much experience with.

David.

Print this item

  IW 15.6.5 is out
Posted by: Alexandre Machado - 09-05-2024, 09:40 AM - Forum: IntraWeb General Discussion - Replies (1)

Quick hot fix for an issue found in the previous version.

https://www.atozed.com/2024/09/intraweb-15-6-5/

Cheers

Print this item

  IntraWeb 15.6.4 is out!
Posted by: Alexandre Machado - 09-04-2024, 09:06 AM - Forum: IntraWeb General Discussion - Replies (4)

Hi guys,

there is a new IW version available for download:

https://www.atozed.com/2024/09/intraweb-15-6-4/

Enjoy!  Big Grin

Next release will bring Lazarus support. Stay tunned!

Print this item

Question Different procedures in OnClick event
Posted by: David1 - 09-03-2024, 01:17 PM - Forum: IntraWeb General Discussion - No Replies

Hello,

I am developing wint Delphi 12.1 Patch 1 and IW 15.6.3.

In an OnClick event of a button I need to execute two different procedures.
The first one save some data to a DB (quick, no problem), the second one call a web service which introduce some delay in response and update of the page.

The procedure is invoked inside a runtime created data module.
Is it possible to use TTask from PPL to execute the web service call asynchronously?

It will be ok to use PPL inside the thread where the data module is executed (considering the multi thread architecture of IW)?

Thank you,
Davide

Print this item

  SSL TcpServer, TcpClient
Posted by: 3ddark - 08-28-2024, 01:50 PM - Forum: Indy - Replies (4)

Exclamation I want to make a TCP Socket application that is secured with simple self signed SSL certificates. Exclamation

In fact, IndyTCPServer and IndyTcpClient allow me to do most of the operations very easily.
However, when it comes to SSL operations, I fail.

I really don't understand why I can't do this. There are many examples, blogs and videos. But it shouldn't be this hard.
I have easily done a similar SSL operation for Mosquitto Broker on Linux. Angry

I am writing the operations I have done step by step. Please tell me where I am missing or making a mistake.

  1. I downloaded the openssl-1.0.2u-i386-win32.zip package from the address below.
    https://github.com/IndySockets/OpenSSL-Binaries
  2. I created my self-signed certificates with the following steps.
  3. I have made SSL settings. As seen in the screenshot, I am establishing a connection with the Server.
        Then I get an error in the Connect process with the Client. When I look at it with Debug, the first error that appears is,    "Error accepting connection with SSL."then the error I see on the screen is    "Connection reset by peer."
Code:
## SERVER ##
openssl genpkey -algorithm RSA -out server.key -aes256
  Enter PEM pass phrase: 123456
openssl req -new -key server.key -out server.csr
  Validate pass: 123456
    Country: TR
    State: Blank
    Locality: Blank
    Organization Name: Acme Ltd
    Organization Unit: IT
    Common Name: 127.0.0.1
    Email: Blank
    Extra Attributes: Blank
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
  Validate pass: 123456


## CLIENT ##
openssl genpkey -algorithm RSA -out client.key -aes256
  Enter PEM pass phrase: 123456
openssl req -new -key client.key -out client.csr
  Validate pass: 123456
openssl req -new -key server.key -out server.csr
  Validate pass: 123456
    Country: TR
    State: Blank
    Locality: Blank
    Organization Name: Acme Ltd
    Organization Unit: IT
    Common Name: 127.0.0.1
    Email: Blank
    Extra Attributes: Blank
openssl x509 -req -days 365 -in client.csr -signkey client.key -out client.crt
  Validate pass: 123456

I have attached the project files. If you could please tell me what the problem is, I would be very grateful.


Code:
procedure TfrmMain.IdTCPServer1Connect(AContext: TIdContext);
begin
  if AContext.Connection.IOHandler is TIdSSLIOHandlerSocketBase then
    TIdSSLIOHandlerSocketBase(AContext.Connection.IOHandler).PassThrough := False;
  mmoSrv.Lines.Add('Connected');
end;

procedure TfrmMain.IdServerIOHandlerSSLOpenSSL1GetPassword(var Password: string);
begin
  Password := '123456';
end;

procedure TfrmMain.IdSSLIOHandlerSocketOpenSSL1GetPassword(var Password: string);
begin
  Password := '123456';
end;

I used the files in step 1 to create the certificate and as dll.



Attached Files
.zip   clienttest.zip (Size: 58.99 KB / Downloads: 4)
Print this item

  post xml data with XMLHttpRequest
Posted by: JuergenS - 08-23-2024, 03:26 AM - Forum: IntraWeb General Discussion - Replies (9)

Hi ATOZED,

Similar to the example "PostDataDemo", I want to query XML data via a corresponding content handler, but my content handler cannot find the query data.

C++ Builder 12 Patch 1
Edition: IntraWeb Ultimate Edition
IntraWeb Version: 15.6.3
32-bit Server on 64-bit Windows
HTTP Server is active on port: 80
HTTPS Server is active on port: 543 (OpenSSL v1.1.1)

In the server controller, the content handler is configured as follows:

this->SecurityOptions->HttpMethods << hmGet << hmPost;
this->SecurityOptions->ForceAjaxPost = true;

TIWMimeTypes::RegisterType(L".xml", L"application/xml; charset=UTF-8", false);
THandlers::Add(L"", L"Query.xml", new TIWH_Xml());

The query is made interactively via an XMLHttpRequest object (see appendix).
The HTML document is inserted into a frame of the MainForm.

The content handler is called correctly but the query data does not arrive:

aRequest->HasContent = true
aRequest->Files->Count = 0 !!!

The test tool specified in "How to simulate a request using Firefox Poster addon.png" (2017)
I could unfortunately no longer find it at Mozilla.

Is there something wrong with my example ?
Does anything else need to be configured ?

Regards
Juergen



Attached Files
.html   Query.html (Size: 691 bytes / Downloads: 1)
Print this item