How to Secure Dropshipping Supplier Connections
Learn IHASHOP Dropshipping connection security, encrypted API keys, SSRF prevention, DNS, TLS and safe access.
How does connection security work?
IHASHOP Dropshipping uses GuvenliTedarikciErisimi for secure supplier access. This guide follows reviewed b817b5d9. Seller role and license are checked first. Connection status and rate limit precede secret decryption. Address is built in memory. DNS, IP and TLS checks follow. A closed gate prevents network access and secret decryption.
Encrypted secret storage
ds_supplier_connections stores endpoint_host, secret_ref, kind, status and last error. Feed and order_api are separate connection kinds. SirDeposu uses Laravel Crypt::encryptString with APP_KEY. ds_secrets ciphertext stores encrypted values. ref is a random UUID. Model hides ciphertext from normal array, JSON and debug output. Feed targets and API keys have distinct secret kinds.
Feed rotation creates a new record in a transaction. It changes ref and marks rotated_at. If no other connection references the old secret, revoked_at is set. Old record is not deleted. API key replacement uses a new API connection and disables previous order_api connections. This does not revoke the old key at supplier.
Missing or mismatched APP_KEY may prevent decryption. secret_unreadable requires re-entry. External Vault or HSM integration was not verified.
Address and DNS validation
IstekAdresiKurucu accepts a DNS hostname. Do not enter literal IP, port or full URL in host field. Feed target is a path and query beginning with /. Address uses HTTPS and port 443 on registered host. GuvenliUzakIndirici checks all DNS answers through AgAdresSiniflandirici. Private, loopback, link-local, metadata, CGNAT, reserved and unsuitable IPv6 addresses are rejected.
One nonpublic result rejects the host. Verified IP is pinned to connection. Actual connected IP is checked. Feed redirects are restricted to same host, HTTPS and 443. At most three redirects are followed. DNS is rechecked and loops rejected. Order API transport does not follow redirects. These measures reduce SSRF risk but do not replace wider network security.
Transfer limits
CurlPinliTasiyici enables TLS verification, disables proxy environment use and uses fresh connections. Connect timeout is 10 seconds. Feed total timeout is 120 seconds per request, order API path 30 seconds. Low speed threshold is 1024 B/s for 30 seconds. Feed response limit is 25 MiB, API response limit 1 MiB. Content-Length is checked early. Actual transferred bytes are counted.
Non-identity content encoding is rejected. Feed connection failure may try another verified IP. API path sends one request to first verified IP, without alternate-IP retry. RateLimiter applies 120 attempts per 60 seconds per connection ID. This provisional limit was not measured as a live supplier quota. Attempts are not successful requests.
Administration and permissions
Open Marketplace > Dropshipping Suppliers (/secure/dropshipping/tedarikciler). Add connection, disable, rotate secret and test connection are available. Screen access requires Super Admin or settings.edit. Granting legal approval and enabling API channel additionally require Super Admin. SaticiKapisi reads license and Seller role on every service call.
Distributor alone is insufficient. active and error connections can be used. disabled and secret_unreadable are rejected. Late successful probe cannot overwrite those two states. Feed probe verifies raw HTTP 200 access, not order API authorization or business validity of product data. Non-GET financial order request rechecks license immediately before network access.
GiyimDepom and Luxstoree examples
Keep GiyimDepom feed and order_api separate. Adapter sets X-Api-Key header. Use verified supplier host information. Luxstoree order API host is fixed to www.luxstoree.com. It uses ApiKey header. Different host is rejected on save and at runtime. Both examples use placeholder credentials, not actual keys. Never include feed token in screenshots or support messages.
Replace API connection when key changes and revoke old key at supplier. Do not enable redirects to work around an API error. Examples do not make network requests.
GiyimDepomLuxstoreeX-Api-KeyApiKeyHTTPS/443www.luxstoree.com · HTTPS/443order_api · secret_reforder_api · secret_refContent and log security
GuvenliXml rejects DTD and ENTITY. jsonGetir parses with depth 32. icerikGetir returns raw string; safe parsing belongs to adapter. Error records use fixed code and applicable HTTP status. Core network logs contain host and code, not full URL, query, headers or body. SensitiveParameter hides sensitive parameters from traces.
Secret variables are set to null in finally; this is not guaranteed memory erasure. Livewire clears input before processing. Automatic masking across all browsers, proxies and external logs was not proven. Avoid sharing sensitive values in support tickets.
Tests and limitations
GuvenliTedarikciErisimiTest 79–97 covers XML, JSON and timeout; 147–238 covers DNS, redirects, size, rate and closed license. BaglantiKayitTest 28–110 covers no plaintext secret and address rejection. SirDeposuTest 42–167 covers encryption, model output, rotation, shared secrets, rollback and differing APP_KEY. GuvenliUzakIndiriciDs0aTest 64–164 covers core network controls.
Tests were not rerun. Live supplier capacity and comprehensive security guarantee were not measured. No actual key, order or financial action used.
Related guides
- How to Review Dropshipping Order History and Event Records
- How to Send Dropshipping Orders to Suppliers via API
- How to Integrate Luxstoree Dropshipping with IHASHOP
- How to Integrate GiyimDepom Dropshipping with IHASHOP
- How to Update Supplier Credentials
- How to Test a Supplier Connection
- How to Create an XML or JSON Supplier Connection
- How to Select the Dropshipping Operating Role
- How to Purchase and Activate the Dropshipping Module
- IHASHOP Dropshipping
Frequently asked questions
Are API keys stored in plaintext?
No; encrypted with Laravel Crypt.
Is HTTP accepted?
No; DS uses HTTPS and 443 only.
What if DNS resolves private IP?
Host is rejected.
What is API response limit?
1 MiB; feed limit is 25 MiB.
Is rate limit a live quota?
No; provisional per-connection limit.