liu.seSearch for publications in DiVA
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Perceived versus Actual Security in Web Applications: A Comparative Analysis of Human-Developed and Large Language Model (LLM)-Generated Applications
Linköping University, Department of Computer and Information Science.
Linköping University, Department of Computer and Information Science.
Linköping University, Department of Computer and Information Science.
Linköping University, Department of Computer and Information Science.
Show others and affiliations
2026 (English)Independent thesis Basic level (degree of Bachelor), 12 credits / 18 HE creditsStudent thesis
Abstract [en]

Web applications are critical for modern digital services, traditionally requiring sub-stantial effort and expertise from human developer teams to ensure robust security andfunctionality. Recently, Large Language Models (LLMs) have emerged as powerful toolsto accelerate this development process, though concerns regarding the security of the gen-erated code persist. This thesis investigates the viability of one of these models by com-paring a peer-to-peer rental web application built by a human developer team with anLLM-generated equivalent.Applying a design science approach, the study evaluates actual security via static anal-ysis and penetration testing, perceived security through user tests and surveys amongLinköping University students, and development effort by contrasting work hours withLLM costs. Results indicate that both technical security knowledge and practical secure-development expertise are important for producing a secure web application. The findingsalso suggest that user perceptions of security are influenced not only by visible design cuesbut also by features such as authentication and single sign-on.Overall, the thesis shows that LLMs can support web application development, butthey do not yet replace the need for human oversight when security is a critical require-ment.

Abstract [sv]

Webbapplikationer är avgörande för moderna digitala tjänster och har traditionelltsett krävt omfattande insatser och expertis från mänskliga utvecklingsteam för att säk-erställa robust säkerhet och funktionalitet. På senare tid har Stora Språkmodeller (LLM:er)vuxit fram som kraftfulla verktyg för att påskynda denna utvecklingsprocess, även omdet kvarstår bekymmer gällande säkerheten hos den genererade koden. Denna uppsatsundersöker användbarheten hos en av dessa modeller genom att jämföra en peer-to-peer-webbapplikation för uthyrning, byggd av ett mänskligt utvecklarteam, med en LLM-genererad motsvarighet.Genom att tillämpa en design science-metodik utvärderar studien den faktiska säker-heten via statisk analys och penetrationstestning, den upplevda säkerheten genom använ-dartester och enkäter bland studenter vid Linköpings universitet, samt utvecklingsinsatsengenom att kontrastera arbetstimmar mot LLM-kostnader. Resultaten indikerar att bådeteknisk säkerhetskunskap och praktisk erfarenhet av säker utveckling är viktiga för attproducera en säker webbapplikation. Studiens fynd tyder även på att användarnas upp-fattning om säkerhet påverkas, inte bara av synliga designval, utan också av funktionersom autentisering och single sign-on.Sammantaget visar uppsatsen att LLM:er kan ge stöd i utvecklingen av webbapplika-tioner, men att de ännu inte ersätter behovet av mänsklig granskning när säkerhet är ettkritiskt krav.

Place, publisher, year, edition, pages
2026. , p. 70
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:liu:diva-225260ISRN: LIU-IDA/LITH-EX-G--2026/007--SEOAI: oai:DiVA.org:liu-225260DiVA, id: diva2:2075325
Subject / course
Computer Engineering
Presentation
(English)
Supervisors
Examiners
Available from: 2026-06-22 Created: 2026-06-18 Last updated: 2026-06-22Bibliographically approved

Open Access in DiVA

fulltext(12284 kB)92 downloads
File information
File name FULLTEXT01.pdfFile size 12284 kBChecksum SHA-512
53ff87d39ffd29c181ebeaac7081d5c599f9970d74b367a9619cfda550e7cb1d8f3aa2234a983e256ca3b3a7ca635d5a20c1ba8a9db1a0e668ce44ca252f3b49
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Löttiger, JohanReimbert Ahlin, AdamEriksson, AlexAronsson, EmilThorfinn, FilipKälvegren, IsakLarsson, JohanKallenberg, Victor
By organisation
Department of Computer and Information Science
Computer Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 92 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 195 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf